> While I can applaud the desire, I think in this case you should NOT > attempt to simplify that in any way, as it would obfuscate what's going > on. This is clean, terse, and extremely clear what is going on. > > If this sort of thing is repeated over and over with different status > codes, *that* should be simplified into a single method, passing in the > code.
Thanks Tamara you made me realize that short syntax is not always best. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e98cb50b51874d2b747cfb9b42aba11b%40ruby-forum.com. For more options, visit https://groups.google.com/d/optout.