Wes Gamble
2006-Aug-24 02:54 UTC
[Rails] Model with self.abstract_class=true allows save method call
I think this is a bug. I declared a model with self.abstract_class = true and then tried to call save on it and it attempted the save. I think this should raise a "method not allowed" exception of some sort. Where is the Trac system that I would use to report this? Thanks, Wes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Possibly Parallel Threads
- abstract_class... what exactly does it do
- What does the send() method do on a model object?
- Rails3-default_scope throws exception: undefined method abstract_class? for Object:Class
- Can''t call public application.rb method from ERb template
- The true merit of non-memory based session stores