Type is a reserve keyword for single table inheritance. regards abhishek
On Mon, Sep 29, 2008 at 5:47 PM, MR Damien <[EMAIL PROTECTED] > wrote: > > > Migration > > --------- > > class CreateSubtasks < ActiveRecord::Migration > > def self.up > > create_table :subtasks do |t| > > t.string :hostname, :type > It seems that :type should not be used as a column name. > -- > 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 -~----------~----~----~----~------~----~------~--~---

