From f4797ed1e10d4caa667be3f6bc9697c638a6c26c Mon Sep 17 00:00:00 2001 From: Jeff Casimir Date: Thu, 26 Mar 2015 21:48:51 -0600 Subject: [PATCH] Hacking around Rails 4.2 incompatibilities --- spec/dummy/app/decorators/post_decorator.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/dummy/app/decorators/post_decorator.rb b/spec/dummy/app/decorators/post_decorator.rb index 316fa7a..d57ac16 100755 --- a/spec/dummy/app/decorators/post_decorator.rb +++ b/spec/dummy/app/decorators/post_decorator.rb @@ -53,4 +53,8 @@ class PostDecorator < Draper::Decorator def updated_at :overridden end + + def persisted? + true + end end