Commit 99581ed1f7045cd516977bf3b0043dfcc6d3677a
1 parent
c11e38e9
Exists in
master
and in
22 other branches
ActionItem243: fixed the plugin to work with rails 2.0.2
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1596 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb
... | ... | @@ -59,7 +59,7 @@ module ActiveRecord #:nodoc: |
59 | 59 | end |
60 | 60 | |
61 | 61 | def find(*args) |
62 | - options = Base.send(:extract_options_from_args!, args) | |
62 | + options = args.extract_options! #Base.send(:extract_options_from_args!, args) | |
63 | 63 | |
64 | 64 | conditions = construct_conditions |
65 | 65 | if sanitized_conditions = sanitize_sql(options[:conditions]) | ... | ... |