From d5d9a281aaf9bc0fd7f5e92e1609a7677f25887c Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 21 May 2012 18:34:31 -0300 Subject: Refactor aggregation writer method Only constantize class_name once. --- activerecord/test/models/customer.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/test') 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 -- cgit v1.2.3