From 4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39 Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Sat, 4 Aug 2012 01:12:26 +0530 Subject: Revert "Fix string interpolation in belongs_to docs" This reverts commit 3fb0100ef893b8cf229e82ce264b426e0c961eb1. --- activerecord/lib/active_record/associations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib') diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 8ab525246a..6124fe315f 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -1408,7 +1408,7 @@ module ActiveRecord # belongs_to :person, :primary_key => "name", :foreign_key => "person_name" # belongs_to :author, :class_name => "Person", :foreign_key => "author_id" # belongs_to :valid_coupon, :class_name => "Coupon", :foreign_key => "coupon_id", - # :conditions => "discounts > #{payments_count}" + # :conditions => 'discounts > #{payments_count}' # belongs_to :attachable, :polymorphic => true # belongs_to :project, :readonly => true # belongs_to :post, :counter_cache => true -- cgit v1.2.3