Sha256: d33d0d0cf2c68266883fdf20800a021ad21d046536595119cef8d00ffe73dff3
Contents?: true
Size: 373 Bytes
Versions: 4
Compression:
Stored size: 373 Bytes
Contents
namespace :interpret do desc 'Copy all the translations from config/locales/*.yml into DB backend' task :migrate => [:environment, "tmp:cache:clear"] do Interpret::Translation.dump end desc 'Synchronize the keys used in db backend with the ones on *.yml files' task :update => [:environment, "tmp:cache:clear"] do Interpret::Translation.update end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
interpret-0.1.4 | lib/tasks/interpret.rake |
interpret-0.1.3 | lib/tasks/interpret.rake |
interpret-0.1.2 | lib/tasks/interpret.rake |
interpret-0.1.1 | lib/tasks/interpret.rake |