Skip to content

Missing required option :name when trying to use S3 for storage. #35

Description

@jfacoustic

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

  <div class="article <%= article_class %>">
  <% cache "#{article_small}_small" do %>
    <% unless article_small.image_url.blank? %> #This is where the error is marked.
      <div class="hero_image">
        <%= link_to article_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 :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions