Module: ActionView::Helpers::ActiveRecordHelper
- Defined in:
- lib/gettext/rails.rb
Overview
:nodoc: all
Defined Under Namespace
Modules: L10n
Instance Method Summary collapse
Instance Method Details
#error_messages_for(object_name, options = {}) ⇒ Object
370 371 372 373 |
# File 'lib/gettext/rails.rb', line 370 def (object_name, = {}) object = instance_variable_get("@#{object_name}") L10n.(object, object_name, self, ) end |