diff options
author | Carlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br> | 2012-07-21 16:47:58 -0300 |
---|---|---|
committer | Carlos Galdino + Rafael Mendonça França <rafael.franca+carlos.galdino@plataformatec.com.br> | 2012-07-21 16:47:58 -0300 |
commit | 5b9d0a6272ca74f33cd62a4ff3fd3072fe533c09 (patch) | |
tree | ab8eec084a60dc9c601f88f3879a2885055cfeee /actionpack/test/fixtures/reply.rb | |
parent | 0106e5fe4436df1853a68c0ed792dc0cf3b9e1a4 (diff) | |
download | rails-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.rb | 2 |
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 |