Skip to content

Instantly share code, notes, and snippets.

@agraves
Created February 2, 2013 18:03
Show Gist options
  • Save agraves/4698596 to your computer and use it in GitHub Desktop.
Save agraves/4698596 to your computer and use it in GitHub Desktop.
1.9.3p327 :048 > t = User.new
=> #<User id: nil, name: nil, some_bool: nil, created_at: nil, updated_at: nil>
1.9.3p327 :049 > t.some_bool = 'a string'
=> "a string"
1.9.3p327 :050 > t.some_bool
=> false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment