Top Level Namespace
Defined Under Namespace
Modules: Draftsman
Instance Method Summary collapse
-
#activerecord_migrations_versioned? ⇒ Boolean
Returns whether migrations need to be versioned.
Instance Method Details
#activerecord_migrations_versioned? ⇒ Boolean
Returns whether migrations need to be versioned.
2 3 4 |
# File 'lib/support/feature_detection.rb', line 2 def activerecord_migrations_versioned? ActiveRecord::VERSION::MAJOR >= 5 end |