Wes Gamble
2006-Aug-24 03:10 UTC
[Rails] Re: Model with self.abstract_class=true allows save method c
OK, so I was totally doing this to see if I could use an abstract model and do validation on it even though there was no backing store. As it turns out, you can. But...the save, create, or update will generate an error. Which, of course you can ignore if you don''t use the "bang" version of those methods. Trying to decide if it''s worth it. Obviously, I could store the model data, but this isn''t really something that I need to store. 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 -~----------~----~----~----~------~----~------~--~---