diff options
author | Ilya Vorontsov <prijutme4ty@gmail.com> | 2012-09-08 22:45:48 +0400 |
---|---|---|
committer | Ilya Vorontsov <prijutme4ty@gmail.com> | 2012-09-08 22:45:48 +0400 |
commit | 6701bb08c98fd1584bd8b60f4c0267b606a5dbfe (patch) | |
tree | f6612c53da4ea257bae3633dcce9c9b6d05371a8 /actionpack | |
parent | c242f6bb3b3267ef9dc53ce8d6c886fa4fdd3468 (diff) | |
download | rails-6701bb08c98fd1584bd8b60f4c0267b606a5dbfe.tar.gz rails-6701bb08c98fd1584bd8b60f4c0267b606a5dbfe.tar.bz2 rails-6701bb08c98fd1584bd8b60f4c0267b606a5dbfe.zip |
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
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_dispatch/http/mime_type.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |