Sha256: 7a642e8e1dacc04d443696fb72dc3e7186491fa335981d3c727e63a475b68df4
Contents?: true
Size: 334 Bytes
Versions: 28
Compression:
Stored size: 334 Bytes
Contents
namespace :notify_user do desc "move params hash to json" task :move_params_to_json => :environment do notifications = NotifyUser::BaseNotification.all notifications.each do |notification| notification.json = notification.params.to_json notification.save end puts "Moved params to json" end end
Version data entries
28 entries across 28 versions & 1 rubygems