On Tuesday, February 18, 2020 at 6:59:15 PM UTC+1, Momeas Interactive wrote:
>
> I don't think polymorphism in Rails can work that way
>
> did you try
>
>
> `has_many :users_following, through: :active_relationships, source:
> :followable, source_type: "FollowableUser"`
>
> `has_many
I don't think polymorphism in Rails can work that way
did you try
`has_many :users_following, through: :active_relationships, source:
:followable, source_type: "FollowableUser"`
`has_many :projects_following, through: :active_relationships, source:
:followable, source_type:
2 matches
Mail list logo