So far I’ve talked about how everything was an object in ruby, even classes. I also wrote an article explaining what were the most important steps to follow when trying to understand ruby classes and objects. This wasn’t a bad idea, but it was a rather simplistic view. I think we’re ready to dive into [...]
It’s never good when a programmer stare at your code for 2-3 minutes trying to understand some mad one-liners.
It’s not a secret, putting business logic inside a view is a bad idea. Views should only contain HTML and presentation logic.