Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Named scopes #2

Open
grimen opened this issue Sep 5, 2009 · 2 comments
Open

Named scopes #2

grimen opened this issue Sep 5, 2009 · 2 comments

Comments

@grimen
Copy link

grimen commented Sep 5, 2009

I can't get named scopes to work with act_as_fu.

NoMethodError: undefined method...

No matterif I declare them in the real model or within build_model block. Everything else works - even complex assocations. Any ideas?

@nakajima
Copy link
Owner

nakajima commented Sep 5, 2009

I can't seem to reproduce this: http://gist.github.com/181530

Can you paste the entire error message?

@grimen
Copy link
Author

grimen commented Sep 6, 2009

Does this help?

http://gist.github.com/181666

The Review class gets defined as a subclass of ::IsReviewable::Review in runtime. Well only named scopes don't work, so it cannot be that right?

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

No branches or pull requests

2 participants