Displaying 1 result from an estimated 1 matches for "uploaded_file_cont".
2010 Aug 01
3
The {{key}} interpolation syntax in I18n messages is deprecated...
...then let me know):
The {{key}} interpolation syntax in I18n messages is deprecated. Please use
%{key} instead.
I have isolated the problem to the following line in my model --- when I do
not add this error everything is fine:
errors.add_to_base("Uploaded file must be present") if
!self.uploaded_file_content
Also tried this but same result:
errors.add(:uploaded_file_content, "Uploaded file must be present") if
!self.uploaded_file_content
The irony is on this app I have no use for i18n. Would be also just as glad
to turn it off, but of course that would only be a band-aid.
Thanks in a...