Dmitry Polushkin
Developer · Not a member
Dmitry Polushkin's latest activity
Sunday, April 10 2011
-
Dmitry Polushkin commented at 11:42 PMerror_messages_for no more in the rails core, it's separate plugin. So you may try to contact with maintainer, add pull request from your fork or something like...
Saturday, February 05 2011
-
Dmitry Polushkin commented at 2:05 AMI guess it now possible in Rails3.
redefine_method("#{reflection.name.to_s.singularize}_ids=") do |new_value| pk_column = reflection.primary_...
Friday, February 04 2011
-
Dmitry Polushkin commented at 8:25 PMBut only one thing, if you are generating short (standard) message, then it will be taken from short, if you are generating it using full_messages, then it will...
-
Dmitry Polushkin commented at 8:21 PMRodrigo,
I'm talking also about API :) (sorry_for_my_bad_english unless something_could_be_understood).
Actually good idea to use :message => {:full => 'message...
-
Dmitry Polushkin commented at 5:09 PMSome off-topic (but anyway still related) about the ActiveResource. Look to this code to understand why it's bad:
def from_array(messages, save_cache = false) ... -
Dmitry Polushkin commented at 5:05 PMRodrigo,
How to translate full_message in this case? I mean how it will be connected to the different locales?
In approach that I've listed above, it's possible...
-
- Tag changed from full_message, full_messages, patch, validations to activemodel, errors, full_message, full_messages, patch, validations
Nearly the same functionality can be found here: https://github.com/svenfuchs/i18n-message/
1) Store symbols instead of string messages;
2) Generate messages fo...
Monday, January 24 2011
-
- Tag changed from patch, validations to full_message, full_messages, patch, validations
Please update state of this feature.