Free Bird wrote:
> 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?

Did you mean Halt.find(1) ?

At ar.rubyonrails.com I don't see any "get" method (either class or 
instance)
-- 
Posted via http://www.ruby-forum.com/.