Artificial intelligent assistant

padrino-0.14.1.1とactivesupport-5.1.1の組み合わせでhumanizeがNoMethodError padrino-0.14.1.1activesupport-5.1.1padrino-admin(/admin/sessions/new)500 DEBUG - TEMPLATE (0.0007s) /sessions/new 2017-11-07 20:23:01 - NoMethodError - undefined method `humanize' for "login.title":String: /Path/to/app/'vendor/bundle' /ruby/2.3.0/gems/padrino-admin-0.14.1.1/lib/padrino-admin/helpers/view_helpers.rb:43:in `padrino_admin_translate' () Padrinoview_helpers.rb require require 'active_support' require 'active_support/core_ext/string' Padrino

GithubPadrinoissue

config/initializersextra_requires.rb
view_helpers.rb


# config/initializers/extra_requires.rb
require "active_support"
require "active_support/core_ext/string"




\--

Looks like a bug due to the ongoing effort to remove the ActiveSupport dependency from Padrino.

You don't need to update view_helpers.rb - creating a file in config/initializers should be sufficient as a temporary stop-gap until the bug is fixed.


# config/initializers/extra_requires.rb
require "active_support"
require "active_support/core_ext/string"

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 5bdc0d53534ac75ba3f364e08e88ce1e