class Object
Public Instance Methods
activerecord_migrations_versioned?()
click to toggle source
Returns whether migrations need to be versioned.
# File lib/support/feature_detection.rb, line 2 def activerecord_migrations_versioned? ActiveRecord::VERSION::MAJOR >= 5 end