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

Already on GitHub? Sign in to your account

Named scopes #2

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

Comments

Projects
None yet
2 participants

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?

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 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