For the past six months or so, I've been fully submerged in the world of Ruby. Learning all the ins and outs, but this was my time to shine. One of the project requirements for this project was using Ruby for our backend portion. Building the backend took me no longer than 20 minutes; setting up the database with necessary data and relationships...BAM, done. Before we move pas this section since we're now pros in Ruby, I wanted to touch on serializers.
Whew, now we're to the most challenging part of the build; the frontend.
Within this file, we include div classes to populate the different sections of our app that we build within their own files. Organizing our files or classes to include functionality related to themselves is called OOP or Object Oriented Programming. This is similar to Object Orientation in Ruby.
.innerHTML to set or return the HTML content of an element. As you can see below, I used this to return the values of each attribute within it's appropriate element.