Permalink
Browse files

Release v1.6.5

  • Loading branch information...
1 parent b9f2ecc commit 8681dd991e3bb6f3c3a6c2b1a07c2048ab0c53f5 @binarylogic binarylogic committed Apr 2, 2009
View
@@ -1,10 +1,11 @@
-== 1.6.5
+== 1.6.5 released 2009-04-2
* Skip all associations defined with the :finder_sql option, since conditions can not be chained to them, etc.
* Fixed bug when using non string values for the keywords condition.
* Fixed undefined methods link_options error.
* Return blank conditions when trying to scope blank conditions. Fixes the issue with groups that return a blank SQL string.
* Fixed issue with blank condition comparing boolean values to non boolean columns.
+* Add utf-8 magic comment for ruby 1.9
== 1.6.4 released 2009-01-22
@@ -67,7 +67,7 @@ def to_a
MAJOR = 1
MINOR = 6
- TINY = 4
+ TINY = 5
# The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)
@@ -38,7 +38,7 @@ def test_has_many_through
search = binary_logic.orders.new_search
assert_kind_of Searchlogic::Search::Base, search
assert_equal Order, search.klass
- assert_equal({:joins => "INNER JOIN users ON orders.user_id = users.id ", :conditions => "(\"users\".account_id = #{binary_logic.id})"}, search.scope)
+ assert_equal({:conditions => "(\"users\".account_id = 431064614)", :joins => "INNER JOIN \"users\" ON \"orders\".user_id = \"users\".id "}, search.scope)
bens_order = orders(:bens_order)
assert_equal [bens_order], search.all
@@ -37,7 +37,7 @@ def test_standard_calculations
end
def test_valid_ar_options
- assert_equal [:conditions, :include, :joins, :limit, :offset, :order, :select, :readonly, :group, :from, :lock], ActiveRecord::Base.valid_find_options
+ assert_equal [:conditions, :include, :joins, :limit, :offset, :order, :select, :readonly, :group, :having, :from, :lock], ActiveRecord::Base.valid_find_options
assert_equal [:conditions, :joins, :order, :select, :group, :having, :distinct, :limit, :offset, :include, :from], ActiveRecord::Base.valid_calculations_options
end
View
@@ -107,10 +107,11 @@ class Dog < Animal
class Cat < Animal
end
-class Test::Unit::TestCase
+class ActiveSupport::TestCase
+ include ActiveRecord::TestFixtures
self.fixture_path = File.dirname(__FILE__) + "/fixtures"
- self.use_transactional_fixtures = true
+ self.use_transactional_fixtures = false
self.use_instantiated_fixtures = false
- self.pre_loaded_fixtures = true
+ self.pre_loaded_fixtures = false
fixtures :all
end

0 comments on commit 8681dd9

Please sign in to comment.