conradwt/catarse — Issue #8: Please specify where the app looks for logo when constructing emails
Author: kevinsteger
Created: 2011-12-09 21:39:42+00:00
State: open

I get this error when submitting a new project.

I put a logo.png in /public/sites//logo.png

But that appears to not the the place for it.

Thanks!

Errno::ENOENT in ProjectsController#create

No such file or directory - /home/kevin/projects/catarse/public/assets/sites//logo.png

Rails.root: /home/kevin/projects/catarse
Application Trace | Framework Trace | Full Trace

app/mailers/projects_mailer.rb:11:in `read'
app/mailers/projects_mailer.rb:11:in `project_confirmation'
app/controllers/projects_controller.rb:81:in `create'

Request

Parameters:

{"utf8"=>"✓",
"authenticity_token"=>"nVrmPuGtzo5fSzpVvlT/eBb5d9bkHkFZ7rYpgBXqzlc=",
"project"=>{"user_id"=>"5",
"site_id"=>"4",
"name"=>"Save Santa",
"video_url"=>"http://vimeo.com/6109423",
"about"=>"Santa needs a new liver.",
"headline"=>"Save Santa.",
"category_id"=>"1",
"goal"=>"1000",
"expires_at"=>Sat,
24 Dec 2011 23:59:59 PST -08:00,
"rewards_attributes"=>{"0"=>{"description"=>"Presents",
"minimum_value"=>"10",
"maximum_backers"=>""}}},
"accept"=>"1",
"commit"=>"Submit project",
"locale"=>"en"}

Show session dump

_csrf_token: "nVrmPuGteo5fSzpVvlT/eBp5d9bkHKFZ7rYpgBXqzlc="
flash: #, @closed=false, @flashes={:notice=>"Your project was successfully created! We'll soon contact you. Thanks a lot!"}, @now=nil>
remember_me: "1"
session_id: "0de30796a8a0ba6114ee75e2fd8d9ddb"
user_id: 5