Add :limit => 1000 in code " t.string "description" "
Need to modify db/schema.rb
create_table "galleries", :force => true do |t|
t.integer "person_id"
t.string "title"
t.string "description", :limit => 1000
t.integer "photos_count", :default => 0, :null => false
t.integer "primary_photo_id"
t.datetime "created_at"
t.datetime "updated_at"
end
and edify db/migrate/20080826181752_create_galleries.rb
def self.up
create_table :galleries do |t|
t.integer :person_id
t.string :title
t.string :description, :limit => 1000
t.integer :photos_count, :null => false, :default => 0
t.integer :primary_photo_id
t.timestamps
end
end
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" 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/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---