OK. A little hacking later...
lib/nested_has_many_through.rb:
<< used alias_method_chain for construct_conditions and
construct_joins >>
init.rb:
require 'nested_has_many_through'
ActiveRecord::Associations::HasManyThroughAssociation.send :include,
NestedHasManyThrough::Association
ActiveRecord::Reflection::AssociationReflection.send :include,
NestedHasManyThrough::Reflection
ActiveRecord::Associations::HasOneThroughAssociation.class_eval do
def construct_conditions
construct_conditions_without_nested_has_many_through
end
def construct_joins
construct_joins_without_nested_has_many_through
end
end
Not exactly a thing of beauty but it does appear to work. I really
need to get my ass on github :-)