Skip to content

Commit

Permalink
Fix tests for sqlite3 3.6.xx
Browse files Browse the repository at this point in the history
  • Loading branch information
lifo committed Apr 21, 2009
1 parent f3ac4f3 commit 6513dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/models/project.rb
Expand Up @@ -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

Expand Down

0 comments on commit 6513dde

Please sign in to comment.