RichardOnRails wrote: > t.Client_Code :string The rails convension is is to make the column names lower case. So this should be: t.client_code :string
I _think_ (but I haven't checked) that you actually need to write this as: t.string :client_code I don't think there is a fancy method_missing implementation that creates columns names based on method calls. (I could be wrong here.) See this for more info: http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/TableDefinition.html#M001231 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

