method

[]=

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: InternalMetadata
[]=(key, value) 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/internal_metadata.rb, line 30
      def []=(key, value)
        return unless enabled?

        find_or_initialize_by(key: key).update!(value: value)
      end
Register or log in to add new notes.