aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-08-04 01:12:26 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-08-04 14:48:21 +0530
commit4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39 (patch)
tree4fac32151812f0f55f00efb165047f549f8001e3 /activerecord/lib
parentad088f096a31b945152bfb0740acba87c85f144b (diff)
downloadrails-4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39.tar.gz
rails-4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39.tar.bz2
rails-4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39.zip
Revert "Fix string interpolation in belongs_to docs"
This reverts commit 3fb0100ef893b8cf229e82ce264b426e0c961eb1.
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/associations.rb2
1 files changed, 1 insertions, 1 deletions
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