As you have read correctly, i started my first own web app 2 days ago. I'm still at the beginning , I created a navigation bar with links. I also made a form where users can post something. I'm at the point where I start to make a forum section and all is working well … Continue reading Setting up Devise gem for my first project
Month: March 2017
Inheritance is basically one class that takes features from a parent class like: class Bear < Animals. so every thing I do in the instance of the Bear class, would also work as if they were done to an instance of Animals. It lets us do common functionalities in the Animals class and be more specific … Continue reading Learn Ruby the Hard Way: What is Inheritance?
Rules for If-statements mandatory else-statement if else-statment never runs, because it doesnt make sense, there need to be a die function, that prints out an error message and closes afterwards Don't nest if-statements more than 2 deep Treat if-statements like paragraphs, where each if-elsif-else grouping is like a set of sentences. Put blank lines before and … Continue reading Ruby the Hard Way: Designing and Debugging
I set myself a challenge: learn programming every day, except weekends, for at least 5 hours. The reason behind this, was me beeing distracted by timeconsuming stuff like gaming, youtube and social media. I really want to prove to myself, that I can push through it and learn the stuff as soon as possible. Let's … Continue reading Learn ruby the hard way: the hard way!