F
Free Bird
I have a class Halt. If i type Halt, the output is=> Halt(id: integer, troute_id: integer, seq: integer, day: integer,
arrival: integer, departure: integer, duration: integer, tnode_id:
integer, mode: string, junction: boolean, distance: integer, created_at:
datetime, updated_at: datetime)
The database is populated. And code was working. But recently it stop
working.
If i type Halt.get, this is the output:NoMethodError: undefined method `get' for #<Class:0xb7025de8>
from
/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in
`method_missing'
from (irb):3
can you please suggest why this is happeneing?
arrival: integer, departure: integer, duration: integer, tnode_id:
integer, mode: string, junction: boolean, distance: integer, created_at:
datetime, updated_at: datetime)
The database is populated. And code was working. But recently it stop
working.
If i type Halt.get, this is the output:NoMethodError: undefined method `get' for #<Class:0xb7025de8>
from
/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/base.rb:1833:in
`method_missing'
from (irb):3
can you please suggest why this is happeneing?