This post originated from an RSS feed registered with Agile Buzz
by Maruis Marais.
Original Post: Ruby, Rails, Rails Plugins, Mac OS X, JavaScript
Feed Title: exceptionz
Feed URL: https://exceptionz.wordpress.com/feed/
Feed Description: Thoughts on Technology, Methodology and Programming.
Ruby
Hash#diff - helpful for determining the difference between two hashes.
String#each_char - Yields a single-character string for each character in the string.
Integer#even - helpful when adding zebra striping to views.
Enumerable#index_by - Convert an enumerable to a hash.
Enumerable#group_by - Collect an enumerable into sets, grouped by the result of a block. Is helpful for grouping elements of [...]