module Sluggable
  class Railtie < Rails::Railtie
    initializer 'sluggable.configure_rails_initialization' do
      ActiveRecord::Validations.send :include, Sluggable::Validations
      ActiveRecord::Base.send :include, Sluggable::Sluggify
    end
  end
end

module Sluggable
  class Railtie < Rails::Railtie
    initializer 'sluggable.configure_rails_initialization' do
      ActiveModel::Validations.send :include, Sluggable::Validations
      ActiveRecord::Base.send :include, Sluggable::Sluggify
    end
  end
end

Add Validations to ActiveModel for reusability
Add Validations to ActiveModel for reusability
