Permalink
Browse files

Merge pull request #5556 from rafaelfranca/remove-warning

use the new scope syntax on the tests to avoid DEPRECATION WARNINGS.
  • Loading branch information...
2 parents 35e8de6 + ab287c5 commit 9a26c9035f8d799bc88786f300dd260312ac5957 @drogus drogus committed Mar 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/fixtures/reply.rb
@@ -1,5 +1,5 @@
class Reply < ActiveRecord::Base
- scope :base
+ scope :base, -> { scoped }
belongs_to :topic, :include => [:replies]
belongs_to :developer

0 comments on commit 9a26c90

Please sign in to comment.