script in rails

David Nguyen
Wed, 24 Sep 2008 08:12:24 -0000

Hi,

Can someone tell me good web links about how to use a script in rails.

Here the thing, I need to execute a script every day to generate
reporting stuff, My script should access all data available in the
database.

Where should I put the script so it will be able to access all models
classes?

Can the script be executed by rails instead of calling it from the cron
daemon?

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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---