4 ms·
Huh... that's harsh, and is coming from more knowledgeable Rails hacker than I am, I wasn't aware of this mess with :union and :group in AR, while I don't mind
by tx 19y ago
Huh... that's harsh, and is coming from more knowledgeable Rails hacker than I am, I wasn't aware of this mess with :union and :group in AR, while I don't mind Rails' habit of passing around hashes of options.
The point I agree with him the most is that "different parts of Rails are accessible at different stages of processing the request". This one annoyed the hell out of me, it took me forever to solve the problem of adding your own custom configuration options and accessing them from anywhere in the app.
- thomasfl 19y agoHave you tried some of the other ruby frameworks, like merb? Merb is not that different from rails, but seems to perform better and can be used with other ORM's than ActiveRecord as well.
- tx 19y agoWhen we started nearly two years ago, we had to quickly drop Windows and simultaneously learn Linux/bash, vim, Ruby, Rails, Apache, SVN plus million other things in a hostile and unknown land of old :-))) No, I have not heard of Merb back then, we compared RoR against PHP and went with Rails and so far it wasn't a bad ride. The key to NOT be disappointed is to do everything "Rails-way", i.e. treat DB as a dumb swamp where you keep your models. So far so good.
- mechanical_fish 19y agoI'm pretty sure Merb didn't exist two years ago, so I wouldn't be too ashamed that you didn't hear of it back then. :)