How do I set the size of a field of type string in a migration? Ex:
class CreateRooms < ActiveRecord::Migration
def change
create_table :rooms do |t|
t.string :title
t.string :location
t.text :description
t.timestamps
end
end
end
How can I say that the title field is varchar (50)