How can I use models and mailers from Ruby Script in a topic? I think of something that is not related to the web and can not be done through rail, but are bound to the database used in the rail. For example, when I want to send an email to Sb Premium ends and 7 days ago I am the best relation
Set a rake function that you can call and check the output Are there. do_some_stuff = & gt; : Environment # You want any code in "End of some output" End You can get it from the command line lib / tasks / appname.rake
function in
rake do_some_stuff < / Pre>
Comments
Post a Comment