[ANN] Error Messages For Plugin

Hey there folks I’ve just released my first plugin. It enhances the
built in error_messages_for helper to do a bunch of really useful things
like, handling an array of AR objects, rendering a partial, and much
much more.

The plug can be found at:
svn://rubyforge.org/var/svn/railserrorsfor

Documentation can be found at:
http://rubyforge.org/docman/view.php/2392/544/README

It’s RubyForge home is at:
http://rubyforge.org/projects/railserrorsfor/

I hope this can help everyone. Let me know if any one has issues.

Enjoy.

Thanks! I had been looking for something like this.

AEM

On 10/17/06, Mark B. [email protected] wrote:

http://rubyforge.org/docman/view.php/2392/544/README


Adrian Esteban Madrid

This is awesome, thank you.

Clean code.

Two things:

  1. you still have .svn folders in the release.

  2. I had to change line 38 in error_messages.rb from:
    app_errors << “#{object.business_name}
    #{key.to_h.downcase}
    #{value}”
    to:
    app_errors << “#{object.business_name}
    #{key.to_s.humanize}
    #{value}”
    to make it work for me.

Great stuff, thanks!

Create a gem!

Check out Dr. Nic’s http://drnicwilliams.com/ new_gem

Robert MannI wrote:

This is awesome, thank you.

Clean code.

Two things:

  1. you still have .svn folders in the release.

  2. I had to change line 38 in error_messages.rb from:
    app_errors << “#{object.business_name}
    #{key.to_h.downcase}
    #{value}”
    to:
    app_errors << “#{object.business_name}
    #{key.to_s.humanize}
    #{value}”
    to make it work for me.

Great stuff, thanks!

Thanks for the heads up Robert. I’ve patched it, and release 1.0.2 is
now up.

http://rubyforge.org/frs/?group_id=2392

Keep the feedback coming!