Hi, I have a model with validations like the one below: validates_presence_of :field, :message => "Should not be blank"
When i submit a form leaving the field blank, i get the following error: ActionView::TemplateError (undefined method `content_tag' for I18n:Module) on line #40 of vendor/plugins/active_scaffold/frontends/ default/views/_update_form.html.erb: 37: <div id="<%= element_messages_id(:action => :update) %>" class="messages-container"> 38: <% if request.xhr? -%> 39: <%= error_messages_for :record, :object_name => @record.class.human_name.downcase %> 40: 41: <% else -%> 42: <%= render :partial => 'form_messages' %> 43: <% end -%> Could someone help me? I'm out of ideas. Thanks, Bernardo -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
