Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert "Fix string interpolation in belongs_to docs"

This reverts commit 3fb0100.
  • Loading branch information...
commit 4ae72a931ea8ef8f5994b3325a4e431cf2cb2f39 1 parent ad088f0
@vijaydev vijaydev authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.