Closed chrislkeller closed 9 years ago
Uses
obj = klass.find_or_initialize_by(url: "https://www.documentcloud.org/documents/#{dc_doc['id']}")
sted
obj = klass.find_or_initialize_by_url("https://www.documentcloud.org/documents/#{dc_doc['id']}")
needed to run on Rails 4.2.1
Also, adds comment to the retrieval of the document cloud project on line 14. Trace came back trace came back NoMethodError: undefined methodscan' for 19735:Fixnum`
trace came back NoMethodError: undefined method
Uses
obj = klass.find_or_initialize_by(url: "https://www.documentcloud.org/documents/#{dc_doc['id']}")
sted
obj = klass.find_or_initialize_by_url("https://www.documentcloud.org/documents/#{dc_doc['id']}")
needed to run on Rails 4.2.1
Also, adds comment to the retrieval of the document cloud project on line 14. Trace came back
trace came back NoMethodError: undefined method
scan' for 19735:Fixnum`