method

apply_modules

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActiveRecord::QueryMethods
apply_modules(modules) 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/relation/query_methods.rb, line 238
    def apply_modules(modules)
      values = Array.wrap(modules)
      @extensions += values if values.present?
      values.each {|extension| extend(extension) }
    end
Register or log in to add new notes.