I have private methods written in my user model. I have schedule crontab
to execute these methods like:
ruby -e production "User.private_function"
But now i will have to either access global variable of the application
with in the private method or be able to call controller function