You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
Hello, I am having a hard time using a model I created. I am trying to call
the object from a class in the lib directory. This class is going to run on
a schedule with clockwork to repopulate a database. However, I can't seem to
access the model.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
On Saturday, December 29, 2012 9:34:43 PM UTC, wnt2bsleepin wrote:
Hello, I am having a hard time using a model I created. I am trying to call
the object from a class in the lib directory. This class is going to run on
a schedule with clockwork to repopulate a database. However, I can't seem to
access the model.
You need to load the rails environment ( config/environment ) to be able to use your models