Ruby on Rails
Thursday, December 29, 2011
I apologize... I guess I wasn't sure what you were asking.
ActionController::Base doesn't have any methods included. Not even the index, new, edit, etc. The only methods available are the ones you add in your application. So adding delete method to ActionController doesn't really make sense.
The delete method could be added to the default set of resourceful routes so you wouldn't need to add it to your routes manually, which is what I think you were referring to? I can definitely see your case for wanting to do this.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/3jHfWAvnwrkJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment