What should I require to use my rails app in my script?

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

Look into script/runner.

It's made just for what you want to do.