Faker is now I18n aware, ships with unicorns

Updated . Posted . 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
License
Source code in this card is licensed under the MIT License.
Posted by Henning Koch to makandra dev (2011-05-26 15:56)