diff options
author | Franco Catena <francocatena@gmail.com> | 2012-08-01 10:32:08 -0300 |
---|---|---|
committer | Franco Catena <francocatena@gmail.com> | 2012-08-01 10:32:08 -0300 |
commit | 3fb0100ef893b8cf229e82ce264b426e0c961eb1 (patch) | |
tree | 57f628d70d6283569a0dd2221efa84b00d2a0b88 | |
parent | cbcfbdd078c1f69f65a31d87b218fb41f495ce0f (diff) | |
download | rails-3fb0100ef893b8cf229e82ce264b426e0c961eb1.tar.gz rails-3fb0100ef893b8cf229e82ce264b426e0c961eb1.tar.bz2 rails-3fb0100ef893b8cf229e82ce264b426e0c961eb1.zip |
Fix string interpolation in belongs_to docs
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index 6124fe315f..8ab525246a 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 |