18 May '12, 10pm

Object#with_options - Beware nested with_options clobbers! #rails

An elegant way to factor duplication out of options passed to a series of method calls. Each method called in the block, with the block variable as the receiver, will have its options merged with the default options hash provided. Each method called on the block variable must take an

Full article: http://apidock.com/rails/Object/with_options#1299-Beware-...


Beware Synonymatic Complexity

robots.thoughtbot.com 14 May '12, 4am

May 13, 2012 Tagged: naming Comments (View) Beware Homonymatic Complexity When you name a class, choose a name that’s unli...