It all started with a childhood obsession with Super Nintendo. As I grew to love the game, I wanted to learn everything about my favorite characters and their stories. However, there was a problem: the stories within the game were not in my native Portuguese but in English. Soon I noticed that I was not only missing out on the game intricacies, but also a vast amount of information on the internet that could only be accessed in English. It was the first time that I realized that I needed knowledge to achieve life goals, as well as a passion and commitment to expanding that knowledge.
Continue reading “How I Ended Up Here”
My goal was to see how much I could refactor my fizzbuzz code below.
Continue reading “JS Tertiary Operator- FizzBuzz Solution”
Take Ruby for instance, one would never be able to add an integer to a string.
1 + "1"
#=> TypeError: String can't be coerced into Fixnum
Continue reading “On JS and Ruby”
I learned last night the flash variable in Rails. It is a special variable that stores data temporarily.
My group at flatiron school is building an application this week and I was assigned the task to research on how to build a signup/signin functionality. The Rails flash would show the user a welcome message as soon as he/she creates an account for example.
Here is how I added the flash variable to the application. In the layouts/applications.html.erb file I used erb to iterate over the flash.
Continue reading “Flashing the User”
This morning students were given the task to debug an app built in Rails.
The app was not saving the created entries to the database and we needed to figure out why.
Well, I had an idea about it as I had previously discussed a similar problem with my smart classmate Sara. My hunch was that something was amiss when the controller told the database to save the entry.
This is how I solved the issue:
Continue reading “My First Rails Debugging Session”
Soooo today at the Flatiron School, we learned some Rails of the first time. After practicing with Sinatra for a few weeks being introduced to Rails felt sort of odd. For example, the wind was knocked out of me when after installing rails I typed in the command line:
rails new my_first_rails_project
Boom! I had now all these folders in my_first_rails_project folder. So many that I was overwhelmed and perplexed.
Continue reading “And…BOOM!..It’s Rails Time”
Getting my hands dirty in database design, or at least trying to as this is a brand new concept for me. But I am learning on the go. I have read recently a few articles on database normalization and relational databases.
In my first attempt to design a database about my favorite video games of all time and their consoles, I came up with this:
Continue reading “Database Design- My First Attempt”