From 6701bb08c98fd1584bd8b60f4c0267b606a5dbfe Mon Sep 17 00:00:00 2001 From: Ilya Vorontsov Date: Sat, 8 Sep 2012 22:45:48 +0400 Subject: Fixed missing require Missing require caused fail of guide generation (in action_dispatch/http/mime_type, line 295, undefined method `ends_with` for "to_ary":String) With this fix guides were normally generated --- actionpack/lib/action_dispatch/http/mime_type.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/actionpack/lib/action_dispatch/http/mime_type.rb b/actionpack/lib/action_dispatch/http/mime_type.rb index 3c1f1458ea..f86ae26b8a 100644 --- a/actionpack/lib/action_dispatch/http/mime_type.rb +++ b/actionpack/lib/action_dispatch/http/mime_type.rb @@ -1,5 +1,6 @@ require 'set' require 'active_support/core_ext/class/attribute_accessors' +require 'active_support/core_ext/string/starts_ends_with' module Mime class Mimes < Array -- cgit v1.2.3