This is still a WIP- wasn't sure how much work would be needed for
compatibility and how far-reaching the changes would be.  Perhaps a module
will be overkill.

On Wednesday, August 7, 2013, Mat Brown wrote:

> In lib/elastictastic/mass_assignment_security.rb:
>
> > @@ -2,12 +2,18 @@ module Elastictastic
> >    module MassAssignmentSecurity
> >      extend ActiveSupport::Concern
> >
> > -    included do
> > -      include ActiveModel::MassAssignmentSecurity
> > -    end
> > +    if ActiveModel.version.version < '4.0'
>
> Couldn't one just check for defined? ActiveModel::MassAssignmentSecurityor somesuch?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/brewster/elastictastic/pull/32/files#r5645039>
> .
>