Skip to content
Browse files

Revert "Fix string interpolation in belongs_to docs"

This reverts commit 3fb0100.
  • Loading branch information...
1 parent ad088f0 commit 4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39 @vijaydev vijaydev committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations.rb
View
2 activerecord/lib/active_record/associations.rb
@@ -1408,7 +1408,7 @@ def has_one(name, scope = nil, options = {})
# 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

0 comments on commit 4ae72a9

Please sign in to comment.
Something went wrong with that request. Please try again.