Sha256: c5018ee3d85267cde569ba9e95c2c6486fa5741dc22fced7d2d74fbb8b56d4f8
Contents?: true
Size: 464 Bytes
Versions: 3
Compression:
Stored size: 464 Bytes
Contents
# coding: utf-8 module ErrorMessageOn class Engine < ::Rails::Engine initializer 'error_message_on.initialize' do config.to_prepare do ActiveSupport.on_load(:action_view) do include ErrorMessageOn::ErrorMessageHelper # ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| # "<span class=\"field_with_errors\">#{html_tag}</span>".html_safe # end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
error_message_on-0.0.12 | lib/error_message_on/engine.rb |
error_message_on-0.0.11 | lib/error_message_on/engine.rb |
error_message_on-0.0.1 | lib/error_message_on/engine.rb |