Created
August 26, 2020 09:39
-
-
Save vilusa/b1d54803fe5a948593742adc5f9698e1 to your computer and use it in GitHub Desktop.
Active::Model Custom Full Error Message https://api.rubyonrails.org/classes/ActiveModel/Errors.html#method-i-full_messages
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: | |
activemodel: | |
errors: | |
models: | |
profiles/address/edit: | |
format: "%{message} %{attribute}" | |
blank: Please enter the |
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
module Rails | |
class Application < Rails::Application | |
# Active::Model Configuration | |
config.active_model.i18n_customize_full_message = true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment