acts_as_fu icon indicating copy to clipboard operation
acts_as_fu copied to clipboard

Named scopes

Open grimen opened this issue 14 years ago • 2 comments

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?

grimen avatar Sep 05 '09 18:09 grimen

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

Can you paste the entire error message?

nakajima avatar Sep 05 '09 22:09 nakajima

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?

grimen avatar Sep 06 '09 06:09 grimen