title: How can I set a default image for user in Rails
body: <p>I am trying to set a default image for users when they sign up. They can change that if they prefer and otherwise a default image will be given. The <code>input_html</code>, however, doesn't seem to work? </p>
  
  <p>How can I set a default image?</p>
  
  <p>Current simple form for input:</p>
  
  <pre><code>&lt;% default_picture = (image_path 'user.png') %&gt;
  &lt;%= f.input :avatar, input_html: {value: '#{default_picture}'}, label: false %&gt;
  </code></pre>