Module: Oath::Generators::Migration
- Included in:
- GoogleOauth2Generator, PasswordResetGenerator, ScaffoldGenerator
- Defined in:
- lib/generators/oath/migration/version.rb
Instance Method Summary collapse
Instance Method Details
#migration_version ⇒ Object
4 5 6 7 8 |
# File 'lib/generators/oath/migration/version.rb', line 4 def migration_version if Rails.version.start_with? '5' "[#{ActiveRecord::Migration.current_version}]" end end |