Browse files

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
  • Loading branch information...
VorontsovIE committed Sep 8, 2012
1 parent c242f6b commit 6701bb08c98fd1584bd8b60f4c0267b606a5dbfe
Showing with 1 addition and 0 deletions.
  1. +1 −0 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

0 comments on commit 6701bb0

Please sign in to comment.