search for: do_auto

Displaying 1 result from an estimated 1 matches for "do_auto".

Did you mean: do_auth
2008 May 07
0
Calling a controller method with a rake task - plugin errors
I have a rake task to call a controller method: ------------------------------------- require ''action_controller'' require ''action_controller/integration'' namespace :backup do desc "Starts automated backup procedure for all databases" task "do_auto" do app = ActionController::Integration::Session.new; app.get ''/database/backup_auto'' end end ------------------------------------- When I run it I get an error about not finding an act_as_xxx which is defined in a custom plugin: /!\ FAILSAFE /!\ Thu May 08 0...