提交 3fb0100e 编写于 作者: F Franco Catena

Fix string interpolation in belongs_to docs

上级 cbcfbdd0
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册