From 10e368df32bbf1b7e2ae0b51ad331e91a04f5b97 Mon Sep 17 00:00:00 2001 From: Andrew Haines Date: Thu, 13 Dec 2012 06:36:02 +0000 Subject: [PATCH] Require Hash extensions for assert_valid_keys --- lib/draper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/draper.rb b/lib/draper.rb index e241c3d..7bec814 100644 --- a/lib/draper.rb +++ b/lib/draper.rb @@ -14,6 +14,8 @@ require 'draper/view_context' require 'draper/collection_decorator' require 'draper/railtie' if defined?(Rails) +require 'active_support/core_ext/hash/keys' + module Draper def self.setup_action_controller(base) base.class_eval do