method

as_json

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveModel::Dirty
as_json(options = {}) public

No documentation

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

Hide source
# File activemodel/lib/active_model/dirty.rb, line 258
    def as_json(options = {}) # :nodoc:
      options[:except] = [*options[:except], "mutations_from_database", "mutations_before_last_save"]
      super(options)
    end
Register or log in to add new notes.