Bashar Abdullah wrote: > I think the problem is with the name of the column, :type. It's a > reserved.
Just to clarify, ActiveRecord assumes a column named type is used for Single Table Inheritance. You can configure the model to tell ActiveRecord to use a different column name for that purpose, which would then allow you to use a column named :type. But, the simpler solution is to avoid using :type. -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

