Hello, Just found an issue with #as_action_aliases being called from CanCan Ability model (app/models/ability.rb). In development mode all is OK, but when running tests, using authorization by the rules, specified in this model, I have "method not found" error…
Seems strange for me. Looks like #as_action_aliases becomes available for controllers in some custom way, which I still don't understand and so can't apply it to my Ability model. Could you, please, make it more clear, how (if possible) to make it work in this case? thanks in advance, -- Andrey Korobkov -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
pgpsRB6ufbg_B.pgp
Description: PGP signature
