class CreateUserRoles
Public Instance Methods
change()
click to toggle source
# File lib/generators/association/templates/user_role_migration.rb, line 2 def change create_table :user_roles do |t| <%= user_role_migration_data -%> <% attributes.each do |attribute| -%> t.<%= attribute.type %> :<%= attribute.name %> <% end