H
Hemant Bhargava
Hi All,
I am running a script from console line with command as ruby
script/abc.rb. But i am getting error "uninitialized constant
ActiveRecord (NameError)". Why so .. ?
My first line of the script is class-
CronJobs < ActiveRecord::Base
...
...
end
I am running a script from console line with command as ruby
script/abc.rb. But i am getting error "uninitialized constant
ActiveRecord (NameError)". Why so .. ?
My first line of the script is class-
CronJobs < ActiveRecord::Base
...
...
end