I’ve sucessfully created an upload and view for one picture connected to
current_user, but who am I suppose to create MANY pictures to one user?
I thought I basically could rename everything to “entries” and “images”
which once were called “entry” or “image”.
change the controller:
entry_controller ===> entries_controller
the USER model:
has_one :entry ===> has_many :entries
all the folders containing entry ===> entries
the “routes”-file with with the correct paths
the folders in the public directory to Entries and Images
(but not change the ENTRY-model name)
Well, this doesn’t work.
I recieve a multitude of errors
like ‘image_relative_path’ for Entry:Class
I guess I’m doing this all wrong, so any help is welcome.