Re:10 Most Common Rails Mistakes
by Finbarr on Tuesday June 03, 2014 @02:01PM
(#7841763)
Agree that `if some_obj` all the time is annoying. Instead, better to introduce semantic helper methods like `if signed_in?` (which incidentally is included with gems like Devise).
[ Parent
| on HN ]