Created
November 4, 2018 21:27
-
-
Save israeljrs/3af59d76edbe64c2a853247b2fbf6ce1 to your computer and use it in GitHub Desktop.
File to add support to uuid in rails apps add this file in config/initializer/uuid.rb
This file contains hidden or 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
Rails.application.config.generators do |g| | |
g.orm :active_record, primary_key_type: :uuid | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment