Skip to content

Instantly share code, notes, and snippets.

@brianjlandau
Created June 10, 2010 15:59
Show Gist options
  • Select an option

  • Save brianjlandau/433205 to your computer and use it in GitHub Desktop.

Select an option

Save brianjlandau/433205 to your computer and use it in GitHub Desktop.
[master] ~/Projects/rails_app $ script/console
Loading development environment (Rails 2.3.8)
rails_app(development):001:0> m = MyModel.new
=> #<MyModel id: nil, name: nil, date: nil>
rails_app(development):002:0> m.date = "bad date words"
=> "bad date words"
rails_app(development):002:0> m.date
=> nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment