My Rails App
Building my rails app was in many ways a lot harder than I thought it was going to be and in some ways a lot easier than my previous sinatra app. Rails made it so easy to initiate the project through its readability, simplicity and copious easy to use built in methods such as “form_for”, “current_user”, “.build”, “.valid?” and more. Instead of having to code the logic for these methods I could just use these readily available methods that come with rails and active record. One of the issues I ran into while building my app was that I was trying to piece together my project by watching different tutorials. I was running into a lot of routing issues due to that. Most of them being that a lot of the tutorials were for different kinds of apps so the logic and routing were different. An example of a routing issue I had in my routes file was that I initially kept my users and unicorns routes separate and nested my superpowers routes in the unicorns route. Towards the end of my project w...