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 …
Tag: rspec
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 …
RailsConf 2008 Summary
RailsConf 2008 is over and I’ve had some time to rest and recollect my thoughts on the sessions. Below is a quick summary of the main ideas I picked up in each session. Friday 5/30/2008 (Day 1) Joel Spolsky keynote – The UI should help the user. Entrepreneurs on Rails – Work will always come …