2009-01-25 - Today’s Ruby/Rails Reading
Memo #3: Advanced usage of Ruby hashes and arrays
Examples of ruby hash constructor play.
script/console for your application
How to build a script/console for your non-rails apps. Why would you want this? Amy Hoy posted this about the value of script/console back in 2006. Basically, it lets you watch your object respond to changes via either inspect or to_yaml, recall previous commands and do a bunch of tricks.
Ask A Tester Person: Writing Multiple Tests at Once
Rails Prescriptions continues its stream of testing posts with an answer to the question of whether it is a good idea to write lots of tests at once. Problems with this - interferes with discovery of test-code method. Code suggests tests. RSpec allows a compromise by allowing test naming without implementation in advance.
This entry was posted on Monday, January 26th, 2009 at 2:17 pm and is filed under Ruby on Rails. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.


