From 99581ed1f7045cd516977bf3b0043dfcc6d3677a Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Thu, 20 Mar 2008 18:10:40 +0000 Subject: [PATCH] ActionItem243: fixed the plugin to work with rails 2.0.2 --- vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb b/vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb index 1177c79..b364ca4 100644 --- a/vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb +++ b/vendor/plugins/nested_has_many_through/lib/nested_has_many_through.rb @@ -59,7 +59,7 @@ module ActiveRecord #:nodoc: end def find(*args) - options = Base.send(:extract_options_from_args!, args) + options = args.extract_options! #Base.send(:extract_options_from_args!, args) conditions = construct_conditions if sanitized_conditions = sanitize_sql(options[:conditions]) -- libgit2 0.21.2