Skip to content

Instantly share code, notes, and snippets.

View AWizardIsNeverLate's full-sized avatar

AWizardIsNeverLate

View GitHub Profile
@yokolet
yokolet / gist:2176753
Created March 24, 2012 00:34
Rails 3: How to add a new field to an existing database table
Existing schema is below:
ActiveRecord::Schema.define(:version => 20120130161449) do
create_table "movies", :force => true do |t|
t.string "title"
t.string "rating"
t.text "description"
t.datetime "release_date"
t.datetime "created_at"