diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-07-20 18:52:35 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-07-20 19:00:46 +0100 |
commit | 3803fcce26b837c0117f7d278b83c366dc4ed370 (patch) | |
tree | 3df21583c12ad2932c00bbe330282b3f70791588 /activerecord/test/models/company_in_module.rb | |
parent | 70a86c6e0af44421efd1f1adac963be5291f2341 (diff) | |
download | rails-3803fcce26b837c0117f7d278b83c366dc4ed370.tar.gz rails-3803fcce26b837c0117f7d278b83c366dc4ed370.tar.bz2 rails-3803fcce26b837c0117f7d278b83c366dc4ed370.zip |
Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.
Diffstat (limited to 'activerecord/test/models/company_in_module.rb')
-rw-r--r-- | activerecord/test/models/company_in_module.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/models/company_in_module.rb b/activerecord/test/models/company_in_module.rb index e5ceda2928..0d14fa1be1 100644 --- a/activerecord/test/models/company_in_module.rb +++ b/activerecord/test/models/company_in_module.rb @@ -11,7 +11,6 @@ module MyApplication has_many :clients_sorted_desc, -> { order("id DESC") }, :class_name => "Client" has_many :clients_of_firm, -> { order "id" }, :foreign_key => "client_of", :class_name => "Client" has_many :clients_like_ms, -> { where("name = 'Microsoft'").order("id") }, :class_name => "Client" - has_many :clients_using_sql, :class_name => "Client", :finder_sql => 'SELECT * FROM companies WHERE client_of = #{id}' has_one :account, :class_name => 'MyApplication::Billing::Account', :dependent => :destroy end |