Closed btagliani closed 5 years ago
I just saw https://github.com/influitive/apartment/pull/557, talk about timing 😄. That PR doesnt change the Rakefile
though.
Hi guys! this fix allows us (and everyone on Rails 3) to use the latest version of apartment, so I'd be awesome if someone could review it. Thanks!
we don't support rails 3 anymore i'm afraid. we've dropped it from our travis testing. i don't want to send the wrong message by merging rails 3 related stuff 💔
Since
ActiveRecord.version
was added in Rails 4, it causes aNoMethodError
in Rails 3 and under. This is a small fix to prevent that from happening and retain the method's logic value.