binarylogic-searchlogic 2.2.0 → 2.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +4 -0
- data/VERSION.yml +1 -1
- data/lib/searchlogic/active_record/named_scopes.rb +1 -1
- data/searchlogic.gemspec +1 -1
- metadata +1 -1
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 2.2.1 released 2009-07-30
|
2
|
+
|
3
|
+
* Use ::ActiveRecord instead of ActiveRecord to avoid a name conflict since ActiveRecord is a module within Searchlogic.
|
4
|
+
|
1
5
|
== 2.2.0 released 2009-07-30
|
2
6
|
|
3
7
|
* Refactored association code to be much simpler and rely on recursion. This allows the underlying class to do most of the work. This also allows calling any named scopes through any level of associations.
|
data/VERSION.yml
CHANGED
@@ -44,7 +44,7 @@ module Searchlogic
|
|
44
44
|
# that duplicate joins will be removed when chaining scopes together that
|
45
45
|
# use the same join.
|
46
46
|
def inner_joins(association_name)
|
47
|
-
ActiveRecord::Associations::ClassMethods::InnerJoinDependency.new(self, association_name, nil).join_associations.collect { |assoc| assoc.association_join }
|
47
|
+
::ActiveRecord::Associations::ClassMethods::InnerJoinDependency.new(self, association_name, nil).join_associations.collect { |assoc| assoc.association_join }
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
data/searchlogic.gemspec
CHANGED