influitive/apartment — pull request #71 by radar (2013-08-03 05:44:01+00:00)
Title: Fix Rails 4 incompatibilty

When I am using Apartment with Rails 4, it errors because `ActiveRecord::StatementInvalid.new` now takes *at least* one argument. This patch is fairly simple and works with Rails 3 and Rails 4.