I have a class Halt. If i type Halt, the output is
>> Halt
=> 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:
>> Halt.get(1)
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?
-- 
Posted via http://www.ruby-forum.com/.