One Month Rails | Image Upload with Paperclip - missing image -


i following 1 month rail course , have problem: used paperclip gem take care of image uploading. followed instructions; however, when upload image, not display correctly, instead display missing image

screenshot of chrome console: https://dl.dropboxusercontent.com/u/2570626/screen%20shot%202014-02-06%20at%209.51.13%20am.png

my github folder is: https://github.com/phanatuan/pinteresting

really appreciate help,

tuan

in pins/_form.html.erb partial mistyped file_field :image

replace:

<div class="field form-group">   <%= f.label :image %>   <%= f.file_field :image, class: 'form-control' %> </div> 

everything else ok.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -