Postbacks aside, I still think inverting the optional actions hashes
(key by method instead of action) is still a better way to go.  It's
less to type, less to transform, and I tend to think of the actions
grouped by http method anyway (at least when doing restful routes).
It's not a huge difference so if I'm a lone voice on this I'll shut
up, but I did want to at least put it forth as an option.

I actually consider the verbosity a feature in this case. If you're
writing so many additional methods that the repetition is beginning to
bug you, you should revisit your intentions. You're probably not being
as RESTful as you could be.
--
David Heinemeier Hansson
http://www.loudthinking.com -- Broadcasting Brain
http://www.basecamphq.com   -- Online project management
http://www.backpackit.com   -- Personal information manager
http://www.rubyonrails.com  -- Web-application framework
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to