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

undefined method `unblocked' #100

Open
FernandoCostaBr78 opened this issue Sep 11, 2017 · 1 comment
Open

undefined method `unblocked' #100

FernandoCostaBr78 opened this issue Sep 11, 2017 · 1 comment

Comments

@FernandoCostaBr78
Copy link

I have the follow issue:

class A ...
acts_as_followable
end

class B
acts_as_follower
end

when i use b.follow(a) work very fine!

But when i try to use b.stop_following(a) i get the error:

NoMethodError: undefined method `unblocked' for #Follow::ActiveRecord_Associations_CollectionProxy:0x007fede1f12968

when i try to use a.followed_by(a) or b.following?(a) i get the same error:

NoMethodError: undefined method `unblocked' for #Follow::ActiveRecord_Associations_CollectionProxy:0x007fede1f12968

Environment References:
Rails 5.0.5
Ruby 2.2.6p396 (2016-11-15 revision 56800) [x86_64-darwin16]
MySQL Server

can u help me?

Best, Fernando

@christophelechevallier
Copy link

I have the same problem

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