It's not so much a rant as pointing out an annoyance I have with Rails. It doesn't always make it obvious when you're using reserved words. I just had an action called 'process' which was causing me to get all sorts of issues. Turns out you can't use 'process' as an action name because it conflicts with the dispatcher's 'process' method. I can take it with a pinch of salt though, as the problem is mostly caused by Ruby's excellent overloading abilities which I'd rather have than not.
(As an aside: FeedDigest has a model called Digestum and the plural is Digesta. A few people warned me to go with the manual naming route on that one, but I decided it added flavor to the FeedDigest application IMHO. So you can create a Digestum and you'll end up with multiple Digesta. Gives the app that.. latin feel.)
Technorati Tags: rails, ruby on rails, rubyonrails
Return to the homepage.
Privacy Policy