method

scoped_methods=

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

scoped_methods=(value)
protected

No documentation available.

# File activerecord/lib/active_record/base.rb, line 1084
        def scoped_methods=(value)
          if allow_concurrency
            Thread.current[:scoped_methods] ||= {}
            Thread.current[:scoped_methods][self] = value
          else
            @scoped_methods = value
          end
        end