Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

ActiveRecord::Associations is not missing constant JoinDependency! (ArgumentError) on 3.1.0.beta1 #19

Closed
dmasur opened this issue May 6, 2011 · 6 comments

Comments

@dmasur
Copy link

dmasur commented May 6, 2011

Found in edge: meta_where-05c739e7f52a/lib/meta_where/relation.rb:4

seems to be some refactoring in action record.

@ernie
Copy link

ernie commented May 6, 2011

Yep -- have you tried Squeel? Has most of the functionality of MetaWhere and a bunch more. I was maintaining a Rails 3.1 branch of MetaWhere for a while but it eventually turned into a rewrite which turned into Squeel.

I'll take a look into updating MetaWhere as well, but my primary focus is on Squeel development for the immediate future.

@ernie ernie closed this as completed May 6, 2011
@Bodacious
Copy link

Hi guys

This issue is closed - I'm using edge rails but encountered this error today - any idea how I can get around it?

@Fonsan
Copy link
Contributor

Fonsan commented May 19, 2011

You switch out meta_where with squeel

@shedd
Copy link

shedd commented Jun 12, 2011

Oops. The recommendation is there. I didn't read. My mistake. Sorry about that.

@ernie
Copy link

ernie commented Jun 12, 2011

It already is, though I need to be more explicit that it's not just for
testing anymore.

(If youre using edge Rails and youd like to help me test the successor to
MetaWhere, please have a look at Squeel http://github.com/ernie/squeel)

Sent from my iPhone

On Jun 12, 2011, at 7:05 AM, shedd <
reply@reply.github.com>
wrote:

Ah, I just hit this issue, too. It might be helpful to put this
recommendation that users of Rails 3.1.x use Squeel rather than MetaWhere at
the top of the README so we don't bang our heads against a handful of issues
(and fix them), and then find out that we need to switch gems...

Reply to this email directly or view it on GitHub:
#19 (comment)

@shedd
Copy link

shedd commented Jun 12, 2011

Thanks for the reply. I edited my comment right after posting because I noticed that I didn't see that comment. My mistake - thanks for the prompt response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants