Example: Given an ActiveRecord model with columns name_en and name_fr, adding ensures_translated_and_utf8 to the model will provide a _name method returning the correct column given current I18n.locale

Required Ruby Version

>= 0

Authors

Nico Arbogast

Versions

  1. 0.0.0.4
    1. source

      1. 0.0.0.4 source August 13, 2014 (6 KB)
  2. 0.0.0.3
    1. source

      1. 0.0.0.3 source August 13, 2014 (6 KB)
  3. 0.0.0.2
    1. source

      1. 0.0.0.2 source February 18, 2013 (6 KB)
  4. 0.0.0.1
    1. source

      1. 0.0.0.1 source November 23, 2012 (6 KB)
Show all versions (6 total)

SHA 256 checksum