Hi,
I have an rails app and I can use the models in script/console.
But how can I write my own script?
In other words, what should I “require” in my script?
Thanks.
Sam
Hi,
I have an rails app and I can use the models in script/console.
But how can I write my own script?
In other words, what should I “require” in my script?
Thanks.
Sam
On Nov 6, 2006, at 11:58 AM, ssk wrote:
I have an rails app and I can use the models in script/console.
But how can I write my own script?
In other words, what should I “require” in my script?
Look into script/runner.
It’s made just for what you want to do.
–
– Tom M., CTO
– Engine Y., Ruby on Rails Hosting
– Reliability, Ease of Use, Scalability
– (866) 518-YARD (9273)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs