From f9ab136abdedb1ea1085e4e0a881371d6ad0dffb Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 23 Aug 2012 17:01:30 -0700 Subject: [PATCH 1/2] Misspelled Draper :) --- app/decorators/application_decorator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/decorators/application_decorator.rb b/app/decorators/application_decorator.rb index 7bc88648..3023699e 100644 --- a/app/decorators/application_decorator.rb +++ b/app/decorators/application_decorator.rb @@ -1,4 +1,4 @@ -class ApplicationDecorator < Drapper::Base +class ApplicationDecorator < Draper::Base # Lazy Helpers # PRO: Call Rails helpers without the h. proxy # ex: number_to_currency(model.price) From 4d9197efa819730de6ed4b927dc2c34270be1ec6 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 23 Aug 2012 17:11:37 -0700 Subject: [PATCH 2/2] Fix Draper spelling in Gemfile --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f256eccb..2d448ced 100644 --- a/Gemfile +++ b/Gemfile @@ -54,7 +54,7 @@ gem "unicorn" gem "acts-as-taggable-on", "2.3.1" # Decorators -gem "drapper" +gem "draper" # Background jobs gem "resque", "~> 1.20.0"