I'm not 100% sure but I think is called "avatar". Below is the table of users that is in the database.
id = 1
name = alf
password_digest = $2a$10$CKi0spNsaEpozAJ9voAHJ.hH76Ca0hdmGCePVVvvXHHS9qQ8CDARC
photo = alf
created_at = 2014-04-07 12:54:07.328582
updated_at = 2014-04-07 12:54:07.328582
avatar_file_name = alf.jpg
avatar_content_type = image/jpeg
avatar_file_size = 12425
avatar_updated_at = 2014-04-07 12:54:07.173774
Could you check if is good configured?.
I'm also having a new error. When I try to print all the pictures that the user has with the following line, Ruby does not recognize the data.
users/show.html.erb => <% @photos.each do |product| %>
users_controller.rb => @photos = Photo.order(:title)
Could you please check why I can't acces to the data of Photos?. The browser give me this error =>
undefined method `each' for nil:NilClass
Thank you and sorry for the long text :(
Regards.