Files
nairobi/app/models
taitus abb81fccf4 Allow create translations without length validation
We have changed validate_translation method on Globalize concern.
The objective is skip length validations when locale is distinct to
default_locale.

First we force apply :length validations when locale is equal to
default_locale. After we reject :length from options and apply rest
of validation options only when we have more than 1 options.

Ej: options = { length: "maximum: 10" }
When reject :length option in this example, options is equal to a
empty hash and we cant execute validations.
2019-06-27 09:21:18 +02:00
..
2019-03-14 17:25:43 +01:00
2019-03-14 17:25:43 +01:00
2019-03-14 17:25:43 +01:00
2019-06-12 16:23:40 +02:00
2019-06-27 09:20:24 +02:00
2019-06-27 09:19:37 +02:00
2019-05-28 14:26:18 +02:00
2019-03-27 15:22:14 +01:00
2019-04-17 17:40:56 +02:00
2019-05-31 18:22:59 +02:00
2019-03-14 17:25:43 +01:00
2019-04-29 13:08:43 -05:00
2019-04-17 17:40:56 +02:00
2019-05-28 14:26:18 +02:00
2019-06-27 09:19:35 +02:00
2019-06-03 18:35:59 +02:00
2019-05-22 11:50:03 +02:00
2019-06-27 09:21:18 +02:00
2019-05-31 18:22:59 +02:00
2019-03-14 17:25:43 +01:00
2019-02-05 17:41:00 +01:00
2019-06-12 16:23:40 +02:00
2019-05-31 15:43:06 +02:00