aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
diff options
context:
space:
mode:
authorCarlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br>2012-07-21 16:47:58 -0300
committerCarlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br>2012-07-21 16:47:58 -0300
commit5b9d0a6272ca74f33cd62a4ff3fd3072fe533c09 (patch)
treeab8eec084a60dc9c601f88f3879a2885055cfeee /actionpack/test/fixtures/reply.rb
parent0106e5fe4436df1853a68c0ed792dc0cf3b9e1a4 (diff)
downloadrails-5b9d0a6272ca74f33cd62a4ff3fd3072fe533c09.tar.gz
rails-5b9d0a6272ca74f33cd62a4ff3fd3072fe533c09.tar.bz2
rails-5b9d0a6272ca74f33cd62a4ff3fd3072fe533c09.zip
Remove deprecation warnings
Diffstat (limited to 'actionpack/test/fixtures/reply.rb')
-rw-r--r--actionpack/test/fixtures/reply.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/reply.rb b/actionpack/test/fixtures/reply.rb
index 0d3b0a7c98..16b53be18a 100644
--- a/actionpack/test/fixtures/reply.rb
+++ b/actionpack/test/fixtures/reply.rb
@@ -1,6 +1,6 @@
class Reply < ActiveRecord::Base
scope :base, -> { scoped }
- belongs_to :topic, :include => [:replies]
+ belongs_to :topic, -> { includes(:replies) }
belongs_to :developer
validates_presence_of :content