John Henderson
Not a member
John Henderson's latest activity
Tuesday, June 29 2010
5003
default_scope prevents a rake db:migrate if attributes in DB don't exist
was created
in Ruby on Rails
-
John Henderson created the ticket at 12:31 PMRails version 3 beta 4
I just discovered that if I declared the following in the User model for example:
...default_scope :conditions => { :cancelled_at => nil }