Tag: rspec

Weekly Tech Learning

Most web developers know that the tech industry moves at an accelerated pace, with hundreds (thousands?) of new technologies to try out that all promise to make our jobs [easier|faster|more efficient|stronger|more shiny]. The problem is time. How do you know which technology is worth your time to learn? Which ones will actually deliver and make …

Read more

Use Hash#except to easily test Rails validations

Ruby on Rails provides a large API for web development, including adding new methods to Ruby’s base classes. One method I don’t see used that often is Hash#except. From the Rails API documentation: Return a hash that includes everything but the given keys. This is useful for limiting a set of parameters to everything but …

Read more