Hello All,
I am using scaffolding but i can not figure out that how to write my own
methods except CRUD. I mean i know how to use CRUD methods but if i
write my own method in my controller and call that from views then the
request is going to show method.
Ok.. the scenario is that have an method abc_whatever in my controller.
So i call this as ModelName/abc_whatever from the views. Before using
scaffolding it was going fine but after scaffolding this request is
going to show method. Is it something to do with routes..?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
--
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.
No comments:
Post a Comment