spec/shared/app_root/app/models/user.rb in edge_rider-0.2.5 vs spec/shared/app_root/app/models/user.rb in edge_rider-0.3.0

- old
+ new

@@ -3,10 +3,11 @@ has_many :posts has_many :topics has_one :profile - has_one :active_profile, :conditions => { :trashed => false }, :class_name => 'Profile' - + EdgeRider::Util.define_association self, :has_one, :active_profile, + :conditions => { :trashed => false }, :class_name => 'Profile' + has_defaults :trashed => false end