Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rails app demoing a limit in merging to a scope that includes a join.

branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

== Welcome to a simple multi-association scope merge join test

This app demos a limitation on merging a scope that includes a join across a
second association.

rake db:migrate
rails c

Raises an exception:

  ActiveRecord::ConfigurationError: Association named 'grandchildren'
  was not found; perhaps you misspelled it?

I think this means that AR (or Squeel, I'm not sure), is trying to find the
'grandchildren' association on the Parent model.
Something went wrong with that request. Please try again.