Forms With Multiple Submit Buttons Discussion
Though will this work with translatable strings too? It doesn't seem like a really solid solution to this problem.
If you use the localize method in both places, it will work just fine for translatable strings. You just want to make sure you always keep them the same.
Is this a good method? - What if you are using i18n so the commit message will show different languages?
@excid3:disqus published_at is a column in your db. Is "published?" a rails method that looks at published_at as a boolean and returns true or false depending on if it is nil or not?
Question, is it best practice to be putting the published? and save_as_draft? methods in your post controller? Or are you doing that for the sake of explaining it?
how can I add the validation of a field (unpublishing reason) by pressing the button unpublishing?