RUBY ON RAILS PROJECT

I would like to say first and foremost never let others dictate your path or destiny and always listen to your heart, this rails project was created for the artist out there who don’t have a place to upload their mixtapes online and see other users opinions. Now with Fresh_Out you can, by signing up or even with a google account, a user can then leave opinions on other users mixtapes or they can create their own mixtape and see what other uses think.

THIS PROJECT JUST NEVER GOT THE FULL UNDERSTANDING

THE CONCEPT OF “ <%= LINK_TO ‘CREATE MIXTAPE’, NEW_TAPE_PATH %> WAS VERY DISTURBING TO ME BECAUSE I HAD NO IDEA ABOUT THIS ROUTES CONCEPT. see coming out of Sinatra i was very tunnel visioned and determined to step up my coding game by finishing in advance but during the lectures and open office hours i was subjected to lack of support, unfortunatley i was doomed coming into this project.

using form_with very tough concept to understand

The internet is a basic place with css to make it look pretty, the process of form making it a deep challenge to me where the html is not being made by us but the ruby code that we use, such as what we see above us is the finished ugly version of this code image below. one can conclude that this is whatsa going on in the background.

The form in html version, behind the scenens

The code that generates this html for us, is really the magic of this whole rails thing, so check this out .

<%= form_with(model: @tape) do |f| %>

Now trust me i can envision this concept but putting it all together was my down fall, The support that i was expecting to have never satisfied and so i began typing and attempting to make this code understandable but the essence of time showed no mercy to me and my slowly but growing brain.

This project has the potential to really show me what my dreams could manifest, with coding, but unfortunately my cohort was not able to assist, but one day i will understand ruby on rails and i will come back to this project and i will become victorious, but until then this is all i could achieve, saddly.

flash messaging was very helpful

Flash messaging is one of those things that you kinda learn to accept that its there to help the user see the wrong in a form submission. for example because of that flash message i am able to let the user know if their opinion was added successfully or denied. Another way i learned to added these div errors as flash messages where the browser goes off of your validations created for example as the photo below will show.

the flash[:message] in this photo is used in conjuctions with .errors method

This is a prime example of letting the validations and the browser catch the errors when submitting a form and allowing it to display what those div errors were exaclty.

look at the top it shows those errors

IN CONCLUSION/personal OPINION

THIS PROJECT TURNED OUT TO BE A COMPLETE DISASTER FROM THE MOMENT I BEGAN IT. I WAS VERY CONFUSED WHEN IT CAME TO ROUTES AND ESPECIALLY THE GENERATORS THAT RAILS PROVIDES THE DEVS. I I STRUGGLED DEEPLY WITH THIS PROJECT AND WITH NO SUPPORT FROM MY COHORT, I BASICALLY DROWNED IN THIS MODULE AND I DON’T THINK I WILL EVER FORGIVE MYSELF FOR IT.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store