influitive / apartment

Database multi-tenancy for Rack (and Rails) applications
2.67k stars 463 forks source link

changes migrator.rb "activerecord_below_5_2" to support Rails < 4 #557

Closed MichaelWhi closed 5 years ago

MichaelWhi commented 6 years ago

ActiveRecord.version is only defined in Rails 4+.

mikecmpbll commented 5 years ago

we've dropped support for rails 3 now i'm afraid. next release will have updated rails version constrant to 4+.