-
Fix the following snippet. Given a collection of 1000 draft Articles, update all of them to be published
Post.where(status: :draft).each { |p| p.update_attributes(status: :published}
#1
| { | |
| "auto_complete_commit_on_tab": true, | |
| "auto_id_class": true, | |
| "binary_file_patterns": | |
| [ | |
| "tmp/", | |
| ".keep", | |
| ".DS_Store" | |
| ], | |
| "close_windows_when_empty": true, |