method

define_accessors

Importance_0
v4.2.7 - Show latest stable - 0 notes - Class: BelongsTo
define_accessors(mixin, reflection) public

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/associations/builder/belongs_to.rb, line 21
    def self.define_accessors(mixin, reflection)
      super
      add_counter_cache_methods mixin
    end
Register or log in to add new notes.