Skip to content

Instantly share code, notes, and snippets.

@michiel3
Created March 6, 2012 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michiel3/1985923 to your computer and use it in GitHub Desktop.
Save michiel3/1985923 to your computer and use it in GitHub Desktop.
Mass assignment example scheme
ActiveRecord::Schema.define(:version => 20120306115211) do
create_table "users", :force => true do |t|
t.string "username"
t.string "password"
t.string "email"
t.boolean "is_admin"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment