hi, im getting the error outlined in the subject. this is the migration:
add_column :tier_3_discount_groups, :description, :text unless
Tier3DiscountGroup.column_names.include?('description')
here is the model:
filename:
tier_3_discount_group.rb
content:
class Tier3DiscountGroup < ActiveRecord::Base
end
create-migration:
filename:
20141209204148_create_tier_3_discountount_groups.rb
content:
class CreateTier3DiscountountGroups < ActiveRecord::Migration
def change
create_table :tier_3_discountount_groups do |t|
t.string :name
t.timestamps
end
end
end
> where is my mistake?
thx
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/CADQqhMdVK57zc%2Bf2%2BtAWJmnvbOQnU6E4vMc-hWFKZ0%2B7dVXxEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.