diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-04-21 13:06:26 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-04-21 13:06:26 +0100 |
commit | 6513dde490ac35aa6974d85377ecc9af4d2e20fd (patch) | |
tree | 5ed0b64e568b7915e3cf2cfc8266fe4da5457639 /activerecord/test/models | |
parent | f3ac4f387dd748db349ec217030d2b13260516f1 (diff) | |
download | rails-6513dde490ac35aa6974d85377ecc9af4d2e20fd.tar.gz rails-6513dde490ac35aa6974d85377ecc9af4d2e20fd.tar.bz2 rails-6513dde490ac35aa6974d85377ecc9af4d2e20fd.zip |
Fix tests for sqlite3 3.6.xx
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/project.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/project.rb b/activerecord/test/models/project.rb index 550d4ae23c..f25b2ddf77 100644 --- a/activerecord/test/models/project.rb +++ b/activerecord/test/models/project.rb @@ -13,7 +13,7 @@ class Project < ActiveRecord::Base :after_add => Proc.new {|o, r| o.developers_log << "after_adding#{r.id || '<new>'}"}, :before_remove => Proc.new {|o, r| o.developers_log << "before_removing#{r.id}"}, :after_remove => Proc.new {|o, r| o.developers_log << "after_removing#{r.id}"} - has_and_belongs_to_many :well_payed_salary_groups, :class_name => "Developer", :group => "salary", :having => "SUM(salary) > 10000", :select => "SUM(salary) as salary" + has_and_belongs_to_many :well_payed_salary_groups, :class_name => "Developer", :group => "developers.salary", :having => "SUM(salary) > 10000", :select => "SUM(salary) as salary" attr_accessor :developers_log |