Jay Fields' Thoughts
experiences in software development
Monday, November 12, 2007
Ruby: Testing Private Methods
›
Jason Rudolph recently wrote about Testing Private Methods in Ruby . Before I continue, it's probably a good idea to note that I rarely ...
7 comments:
Sunday, November 11, 2007
Rails: Enumerable#index_by
›
Documentation Convert an enumerable to a hash. Examples: people.index_by(&:login) => { "nextangle" => , "chad...
1 comment:
Saturday, November 10, 2007
Rails: Integer#even?
›
Documentation None Usage The Integer#even? method is helpful when adding zebra striping to views. For example: <% @customers.each_with_...
2 comments:
Friday, November 09, 2007
Rails: String#each_char
›
Documentation Yields a single-character string for each character in the string. When $KCODE = ‘UTF8’, multi-byte characters are yielded app...
1 comment:
Thursday, November 08, 2007
Rails: Hash#diff
›
Documentation None Usage The Hash#diff method is helpful for determining the difference between two hashes. note: The receiver matches on bo...
2 comments:
‹
›
Home
View web version