Good Day.
I want to run some rb-file via Cron, for inserting data in database. Is
it possible to use Model from my project, in stand alone rb-file? What
should i require in rb-File?
Andrev Titov wrote:
Good Day.
I want to run some rb-file via Cron, for inserting data in database. Is
it possible to use Model from my project, in stand alone rb-file? What
should i require in rb-File?
Thank`s for All,
I have just found it:
http://wiki.rubyonrails.org/rails/pages/HowToUseActiveRecordOutsideRails