Can code in my cron job call methods from ApplicationController?
It needs to act as if a user called a function, which triggers a whole
lot of code that I have in the controller. I don't want to separate
this to a library, because this way, the controller will look pretty
Is there any was I can require the application controller and then
call its methods from the cron job?
What I'm getting now is just:
NoMethodError: undefined method `create_message_in_chat' for