We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When attempting to attach a label with paperclip I am getting Paperclip::AdapterRegistry::NoHandlerError
Paperclip::AdapterRegistry::NoHandlerError
class Ticket < ActiveRecord::Base has_attached_file :fedex_label, content_type: { content_type: "application/pdf" }
I am putting my code here:
begin label = fedex.label(:filename => "tmp/#{@ticket.id}_ship_label.pdf", :shipper=>shipper, :recipient => recipient, :packages => packages, :service_type => "FEDEX_GROUND", :shipping_options => shipping_options, :label_specification => size_settings) @ticket.fedex_label = label.file_name @ticket.save! @track_number = label.response_details[:completed_shipment_detail][:completed_package_details][:tracking_ids][:tracking_number].to_s rescue Fedex::RateError => e @fedex_error = e end
Is anyone else having a problem with this?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When attempting to attach a label with paperclip I am getting
Paperclip::AdapterRegistry::NoHandlerError
I am putting my code here:
Is anyone else having a problem with this?
The text was updated successfully, but these errors were encountered: