Is it possible to output the data.yml file to another directory? [NT]
robotex82 opened this issue · 1 comments
robotex82 commented
Is it possible to output the data.yml file to another directory? [NT]
alexanderadam commented
I'm not the maintainer but I guess it should be possible with something like
YamlDb::RakeTasks.module_eval do
def self.dump_dir(dir = '')
Rails.root.join('some', 'other', 'directory')
end
end
or just use the task db:data:dump_dir
.