method

interpolate

rails latest stable - Class: ActiveRecord::Associations::JoinDependency::JoinAssociation

Method deprecated or moved

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

interpolate(conditions)
private

No documentation available.

# File activerecord/lib/active_record/associations/join_dependency/join_association.rb, line 143
        def interpolate(conditions)
          if conditions.respond_to?(:to_proc)
            instance_eval(&conditions)
          else
            conditions
          end
        end