method

attribute_names_for_partial_inserts

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: ActiveRecord::AttributeMethods::Dirty
attribute_names_for_partial_inserts() private

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/dirty.rb, line 249
        def attribute_names_for_partial_inserts
          if partial_inserts?
            changed_attribute_names_to_save
          else
            attribute_names.reject do |attr_name|
              if column_for_attribute(attr_name).default_function
                !attribute_changed?(attr_name)
              end
            end
          end
        end
Register or log in to add new notes.