instance method inherited

Ruby on Rails 8.1.2

Since v4.2.9 Private

Available in: v4.2.9 v5.2.8.1 v6.0.6 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

inherited(base)

No documentation comment.

Parameters

base req
Source
# File activerecord/lib/active_record/locking/optimistic.rb, line 201
            def inherited(base)
              super
              base.class_eval do
                @locking_column = DEFAULT_LOCKING_COLUMN
              end
            end

Defined in activerecord/lib/active_record/locking/optimistic.rb line 201 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Locking::Optimistic::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close