new to rails (and programming) here. I am having an error in my app when uploading a photo, in which the broken photo icon appears and the image is set to "/images/medium/missing.png"
I have ImageMagick and Paperclip set up, migrations done, everything seems to be in order, no errors except for this. And it does not actually give an error, the upload seems to go through but it just shows the broken photo icon.
Here is my routes.rb:
MyApp::Application.routes.draw do
resources :pins
devise_for :users
root "pages#home"
get "about" => "pages#about"
get "team" => "pages#team"
not sure what else might help to provide just let me know.
User Model :
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable
has_many :pins
end
log/development.log
file? – Aluxzi