Created
March 24, 2015 10:15
-
-
Save hanka/6a16ec79448a3ca05e05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_polymorphic_foreign_key :images, :users, column: :imageable | |
add_polymorphic_foreign_key :images, :items, column: :imageable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment