Re:Ask HN: I don't like Rails. Am I missing something?
by mkrecny on Thursday February 17, 2011 @01:07PM
(#2232016)
I agree. Based on conversations that I've had with rails gurus (I'm in a co-work space with pivotal labs) the essay-like queries are definitely a code smell. I think the guy who has laid the relational foundation for the app I'm working on (and taught me all the rails I know to date) has done so in a non-Railsy way.
Re:Ask HN: I don't like Rails. Am I missing something?
by pestaa on Thursday February 17, 2011 @02:18PM
(#2232371)
Yes, and it's not Rails only; every framework that uses Active Record (and that covers the vast majority) requires this sort of approach.
"Skinny controller, fat model" is not as easy as it sounds.
If all you need is a CRUD app such as Basecamp and the other products from 37signals, Rails is a no-brainer and you'll be already half-way done.
If you need something more or something different, you better off looking deep in the pool of plugins, because if they don't have the answers, you'll need many hours to break the convention and tweak to your requirements.
The essay-like queries is a code smell, by the way, and to me it suggests you're underutilizing Active Record scopes.