Method: Translatable::ActiveRecord::Adapter#fetch_stash

Defined in:
lib/translatable/active_record/adapter.rb

#fetch_stash(locale, name) ⇒ Object



14
15
16
17
18
# File 'lib/translatable/active_record/adapter.rb', line 14

def fetch_stash(locale, name)
  value = stash.read(locale, name)
  return value if value
  return nil
end