Skip to content

Instantly share code, notes, and snippets.

View tinifni's full-sized avatar

Justin Anderson tinifni

View GitHub Profile
@jasonroelofs
jasonroelofs / user.rb
Created August 16, 2012 15:19
default_scope is evil, EVIL!
] rails c
Loading development environment (Rails 3.2.8)
1.9.3p194 :001 > User.new
=> #<User id: nil, test_field: "Johnson">