You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to get my blog set up on Heroku in S3. I followed issue #16, but this is as far as I got.
I've also been following Heroku's instructions for setting up Rails with S3.
I was testing this with heroku local:run rails s to get the error.
I tried pushing to my website and it didn't work either.
ArgumentError in Lines::Articles#index
missing required option :name
<divclass="article <%= article_class %>">
<% cache"#{article_small}_small"do%> <% unless article_small.image_url.blank? %>#This is where the error is marked.
<divclass="hero_image">
<%= link_toarticle_path(article_small)do%> <img src="<%= article_small.image_url %>" alt="<%= article_small.title %>" />
The top of my framework trace says
aws-sdk-s3 (1.30.1) lib/aws-sdk-s3/bucket.rb:684:in extract_name
Thanks for your help :)
The text was updated successfully, but these errors were encountered:
Install byebug gem and put a debugger statement above the line that gives error. Then press n in the console to follow where the :name is required for.
I've been trying to get my blog set up on Heroku in S3. I followed issue #16, but this is as far as I got.
I've also been following Heroku's instructions for setting up Rails with S3.
I was testing this with
heroku local:run rails s
to get the error.I tried pushing to my website and it didn't work either.
ArgumentError in Lines::Articles#index
missing required option :name
The top of my framework trace says
aws-sdk-s3 (1.30.1) lib/aws-sdk-s3/bucket.rb:684:in
extract_name
Thanks for your help :)
The text was updated successfully, but these errors were encountered: