GithubHelp home page GithubHelp logo

spree-s3-download's People

Contributors

jhchabran avatar jseifer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

spree-s3-download's Issues

undefined method `new_admin_product_s3_products_path' for #<ActionView::Base:0x38d1ed8>

I created an edit file with the following code in the s
I created a basic edit file override in the views/admin/products - exact same as normal except I added the link_to "Add S3 Object" per your tutorial at the end:

<% form_for(@Product, :url => object_url, :html => { :method => :put, :multipart => true }) do |f| %>
<% end %>
<%= link_to "Add S3 Object to "#{@product.name}"", new_admin_product_s3_products_path(@Product) %>

NoMethodError in Admin/products#edit
undefined method `new_admin_product_s3_products_path' for #ActionView::Base:0x38d1ed8

Something to with the routes perhaps?

If I'm doing something wrong here I'd be happy to update the README with what I have learned so as to give back to the project and help others get started more easily.

Jack

NoMethodError in Admin/productsController#index

Hi,

I installed the extension with Spree 0.10, set up my s3 credentials then migrated the database. I can login to the admin section, but when I click product i get the following error:

NoMethodError in Admin/productsController#index

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.<<

Users/jack/Code/notes/vendor/extensions/s3_download/s3_download_extension.rb:46:in `add_s3_product_admin_tab'

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.