Closed henron1 closed 4 years ago
what's the error?
uninitialized constant Admin::RolesController::Zipline
what's Admin::RolesController? is that a rails thing?
It's a controller I'm trying to use zipline in. It's not liking the "include Zipline"
I'm not sure exactly what's going on, but it's looking for Zipline in that namespace... can you paste the full file?
is the gem definitely installed?
def role_legal_agreement_download
urls = []
@role.people_casted.each do |person|
person.agreements.each do |agreement|
data = open(agreement.pdf.service_url)
urls.push(data)
end
end
zipline(urls, 'archive.zip')
end
``
I'm now getting an error Read error: #<NoMethodError: undefined method
tr' for nil:NilClass`
did you get it fixed?
Getting this error when I include the lib in the class per the readme.