diff options
author | yui-knk <spiketeika@gmail.com> | 2016-01-07 10:24:54 +0900 |
---|---|---|
committer | yui-knk <spiketeika@gmail.com> | 2016-01-07 10:24:54 +0900 |
commit | 54aaf85e4f791aa7a3d06de837f00a73526b496c (patch) | |
tree | d2a72e26ebf92ade9b628139c6a42de8b7409d3c | |
parent | 3cae35bd6c46c7fb4b2daf09d1a8713feb74a0e3 (diff) | |
download | rails-54aaf85e4f791aa7a3d06de837f00a73526b496c.tar.gz rails-54aaf85e4f791aa7a3d06de837f00a73526b496c.tar.bz2 rails-54aaf85e4f791aa7a3d06de837f00a73526b496c.zip |
Suppress warning (instance variable @persisted not initialized)
-rw-r--r-- | actionview/test/lib/controller/fake_models.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/test/lib/controller/fake_models.rb b/actionview/test/lib/controller/fake_models.rb index a3e7e4d980..a122fe17c9 100644 --- a/actionview/test/lib/controller/fake_models.rb +++ b/actionview/test/lib/controller/fake_models.rb @@ -38,6 +38,7 @@ class TicketType < Struct.new(:name) def initialize(*args) super + @persisted = false end def persisted=(boolean) |