Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

error_messages was removed from Rails

#97

Again, fix a rails beta upgrading bug...

DEPRECATION WARNING: f.error_messages was removed from Rails and is now available as a plugin. Please install it with rails plugin install git://github.com/rails/dynamic_form.git.

I don't see a need for the plugin, we can replace the error message code with the new scaffold like:

<% if @point.errors.any? %>

<h2><%= pluralize(@point.errors.count, "error") %> prohibited this point from being saved:</h2>
<ul>
<% @point.errors.full_messages.each do |msg| %>
  <li><%= msg %></li>
<% end %>
</ul>
<% end %>

Reported by Brian Michalski · June 6th, 2010 @ 04:55 PM

State: resolved
Milestone: none
Assigned to: Brian Michalski Brian Michalski

Activity

  1. Brian Michalski
    Brian Michalski
    • State changed from open to resolved

    (from [b40c8e50fdceb295b7435971eeda6be7d28cf84c]) Fixing error_messages being removed from rails. [#97 state:resolved responsible:"Brian Michalski"]] http://github.com/wtg/concerto/commit/b40c8e50fdceb295b7435971eeda6...

    June 6th, 2010 @ 05:15 PM

  2. Brian Michalski
    Brian Michalski
    • Milestone order changed from 0 to 0

    (from [94da444cba6ee4b66cd5e578c37cc6c1005b38a7]) use cancan methods and only set membership if you're logged in and have made a request. closes #97 https://github.com/concerto/concerto/commit/94da444cba6ee4b66cd5e57...

    June 1st, 2012 @ 08:31 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.