On 25 January 2012 05:39, amvis <vgrkrish...@gmail.com> wrote:
> How to call a controller from  the rake file, Just i have tried  to create a
> controller object in rake, and call the method, but i didn't get that...
> also how to link the helper class with the rake?

I don't believe it makes sense to call controller methods from a rake
task.  Put the bits you want to call in a model and you can call them.
 Similarly to call view helper models does not make sense.  There is
no view so what good are view helpers?  Put the code in models or in
lib.

Colin

-- 
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.

Reply via email to