Skip to content

Instantly share code, notes, and snippets.

@phlegx
Created February 20, 2011 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phlegx/836239 to your computer and use it in GitHub Desktop.
Save phlegx/836239 to your computer and use it in GitHub Desktop.
# Error
can't convert nil into String
Extracted source (around line 47 </a>):
44: </p>
45:
46: <p>
47: <%= image_tag(@customer_setting.image_url(:thumb)) if @customer_setting.image?%><br/>
48: <p/>
49: </fieldset>
50:
Codesnippet:
<%= form_for(@customer_setting, :html => {:multipart => true},
:url => project_administration_customer_setting_path(@customer)) do |f| %>
....
<%= image_tag(@customer_setting.image_url(:thumb)) if @customer_setting.image?%><br/>
....
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment