Skip to content

undefined method `unblocked' #100

@FernandoCostaBr78

Description

@FernandoCostaBr78

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions