Faker is now I18n aware, ships with unicorns

Posted Almost 13 years ago. Visible to the public.

Recent versions of the Faker Show archive.org snapshot gem retrieve their strings from your locale file (e.g. config/locale/de.yml). This leads to awesome errors like this:

undefined method `shuffle' for "translation missing: de.faker.lorem.words":ActiveSupport::SafeBuffer

To fix this, copy the contents of a Faker locale file Show archive.org snapshot into your config/locale/de.yml.

This is stupid.

Henning Koch
Last edit
Over 11 years ago
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-05-26 15:56)