dropping Rails 3.1 support, adding some Rails 4.0 specific code