Permalink
Browse files

Fix tests for sqlite3 3.6.xx

  • Loading branch information...
1 parent 5a4603f commit 326709739361e1087131da0fa9b6cbd4bce5be8e @lifo lifo committed Apr 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 3267097

Please sign in to comment.