Skip to content

Comments

Add polymorphic association support#5

Open
tiagolnobre wants to merge 1 commit intorubymonolith:mainfrom
tiagolnobre:polymorphic-association-support
Open

Add polymorphic association support#5
tiagolnobre wants to merge 1 commit intorubymonolith:mainfrom
tiagolnobre:polymorphic-association-support

Conversation

@tiagolnobre
Copy link

This Pr intends to support the Rails polymorphic associations from #4

In summary, allows to use votable post(:hello_world) that sets votable_id and votable_type: Post, without the need to manually define both.

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

Successfully merging this pull request may close these issues.

1 participant