method

dangerous_attribute_methods

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods
dangerous_attribute_methods() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/attribute_methods.rb, line 31
      def dangerous_attribute_methods # :nodoc:
        @dangerous_attribute_methods ||= (
          Base.instance_methods +
          Base.private_instance_methods -
          Base.superclass.instance_methods -
          Base.superclass.private_instance_methods
        ).map { |m| -m.to_s }.to_set.freeze
      end
Register or log in to add new notes.