Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- csv = CSV.generate do |csv|
- csv << model.column_names
- model.all.each do |str|
- csv << str.attributes.values
- @window.progress_bar.value += 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement