If your model Item has both the description_fr and a description_en attributes, you can access your item's description in the current locale using 'item.description'.

Required Ruby Version

None

Authors

Martin Carel, Hugo Frappier

Versions

  1. 0.0.1 September 12, 2013 (5.5 KB)

SHA 256 checksum