How to trigger an action from script/console

Hi,

I have build a conversion script from an old database to a new one
(which is designed to work with ROR), and every action converts one
table and takes over 5 minutes… When I trigger the actions from my
browser, I finally end up with a “Failed to start properly”…

So, simple question: How can I do this from the console, that is to say,
trigger one of my controller’s action from it?

Thank you!

Nauhaie

Try : app.get “my_controller/my_action”

more info here : http://clarkware.com/cgi/blosxom/2006/04/04

Thank you Franck! It works perfectly!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs