You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I too often wind up writing my own translation files to handle this message. My impression is that this would fit well in rails-i18n. Since there is already:
activerecord.errors.messages....
maybe just add something like:
activerecord.success.messages...
I think the actual message relates directly to ActiveRecord regardless of where it is displayed, so it fits better here than in the scaffold discussion.
When running the
scaffold_controller
generator, the following messages gets hardcoded:%{model} was successfully created|updated|destroyed.
scaffold_controller code for
created
.It'd be nice to have translations for that, but I'm not sure of two things:
helpers.success.created|updated|destroyed
could be good ones.The text was updated successfully, but these errors were encountered: