module HstoreTranslations::AccessMethods

Public Instance Methods

read_translated_attribute(name, locale) click to toggle source
# File lib/hstore_translations/access_methods.rb, line 5
def read_translated_attribute(name, locale)
  read_store_attribute("#{name}_translations", locale)
end
write_translated_attribute(name, locale, value) click to toggle source
# File lib/hstore_translations/access_methods.rb, line 9
def write_translated_attribute(name, locale, value)
  write_store_attribute("#{name}_translations", locale, value)
end