Ruby on Rails
Wednesday, September 28, 2011
My bad... I put "delete" in the :before_filter's list of methods when
the method name is "destroy".
Silly gotcha.
Sorry gents. Hope someone facing roughly the same issue would benefit
from this little lesson I learnt.
Cheers :)
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
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