Module: Multilang::ActiveRecordExtensions

Defined in:
lib/multilang-hstore/active_record_extensions.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.raise_mass_asignment_deprecation_error!Object



4
5
6
# File 'lib/multilang-hstore/active_record_extensions.rb', line 4

def self.raise_mass_asignment_deprecation_error!
  raise Multilang::Exceptions::DeprecationError.new(":accessible was deprecated starting multilang-hstore >= 1.0.0 which is intended for Rails >= 4.0.0. Check more info about the deprecation of mass-asignment in Rails 4")
end