diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-21 18:34:31 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-05-21 18:34:58 -0300 |
commit | d5d9a281aaf9bc0fd7f5e92e1609a7677f25887c (patch) | |
tree | 360154517867e00d77360368892e6c4cf51c5b11 /activerecord/test/models | |
parent | f260dc53be27448d9052098369d31d8ecd626839 (diff) | |
download | rails-d5d9a281aaf9bc0fd7f5e92e1609a7677f25887c.tar.gz rails-d5d9a281aaf9bc0fd7f5e92e1609a7677f25887c.tar.bz2 rails-d5d9a281aaf9bc0fd7f5e92e1609a7677f25887c.zip |
Refactor aggregation writer method
Only constantize class_name once.
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/customer.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/models/customer.rb b/activerecord/test/models/customer.rb index 807f25b687..7e8e82542f 100644 --- a/activerecord/test/models/customer.rb +++ b/activerecord/test/models/customer.rb @@ -1,5 +1,4 @@ class Customer < ActiveRecord::Base - cattr_accessor :gps_conversion_was_run composed_of :address, :mapping => [ %w(address_street street), %w(address_city city), %w(address_country country) ], :allow_nil => true |