Model.method Controllers and models are not related so you can do this from any controller
On 04/02/2009, at 16:36, Cyrus Dev <rails-mailing-l...@andreas-s.net> wrote: > > Hello Everyone > > any one know how to call model method in controller ? > > I have one method that is in model and want to call from another > controller > > please help me > > thanks > -- > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---