Skip to content

brentgreeff/better_error_message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better Error Message

Better error message for Ruby on Rails. Use instead of Rails error_message_on()

Install

gem install better_error_message

Example

better_error_message :dd, @user, :first_name

or

better_error_message :p, @user, [:first_name, :last_name]
  • will return the first error message for the specified field.

Copyright © 2009 [Brent Greeff], released under the MIT license

About

Better error messages for rails forms, replacement for error_message_on

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages