Last active
December 24, 2015 08:08
-
-
Save cheeyeo/6768046 to your computer and use it in GitHub Desktop.
Custom error messages in Rails 3.2?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
activerecord: | |
models: | |
user: Dude | |
attributes: | |
user: | |
first_name: "Name first" | |
errors: | |
models: | |
product: | |
attributes: | |
category_id: | |
presence: "Product must belong to a category" | |
selling_pref: | |
presence: "Please select a selling method" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment