```ruby
Spree.user_class.class_eval do
  has_many :addresses, :conditions => {:deleted_at => nil}, :order => "updated_at DESC", :class_name => 'Spree::Address'
end
```

Update has_many args to Rails 4 syntax
user
```ruby
Spree.user_class.class_eval do
  has_many :addresses, -> { where(:deleted_at => nil).order("updated_at DESC") }, :class_name => 'Spree::Address'
end```
assistant