Flowdock
method

new

Importance_0
v4.1.8 - Show latest stable - 0 notes - Class: CollectionAssociation
new(model, name, scope, options) 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/collection_association.rb, line 17
    def initialize(model, name, scope, options)
      super
      @mod = nil
      if block_given?
        @mod = Module.new(&Proc.new)
        @scope = wrap_scope @scope, @mod
      end
    end
Register or log in to add new notes.