search for: methodabstract_class

Displaying 1 result from an estimated 1 matches for "methodabstract_class".

2012 Jul 25
0
Rails3-default_scope throws exception: undefined method abstract_class? for Object:Class
...def inactive update_attribute(:available, false) end default_scope :available => true end Getting following error when add the default_scope */gems/ruby-1.9.2-p290/gems/activerecord-3.0.9/lib/active_record/base.rb:1212:in class_of_active_record_descendant'': undefined methodabstract_class?'' for Object:Class (NoMethodError)* -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group...