1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix string interpolation in belongs_to docs

This commit is contained in:
Franco Catena 2012-08-01 10:32:08 -03:00
parent cbcfbdd078
commit 3fb0100ef8

View file

@ -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