Adding Susy Grid System to Rails

susygridsystem

In my first Ruby on Rails tutorial, we installed bootstrap to deal with the styling of some of the elements such as the navigation and font styling. Bootstrap also has a grid system that we could have used for our responsive web app, but since every Ruby on Rails app that is generated includes Sass we can implement the Susy grid framework almost effortlessly. Some things that put Susy above regular grid systems are.

  • Susy injects the code inside our own classes. Unlike Bootstrap where we have to include their classes to work
  • If we already had HTML elements set up we wouldn’t have to change anything except the css
  • Faster and more lightweight than grid systems
  • Change your whole grid just by changing some variables
  • Only includes the code we want to include

So let’s get started implementing Susy into our Ruby on Rails app.

Continue reading “Adding Susy Grid System to Rails”

How to Use Git and Heroku to Deploy

Heroku Deploy

In this tutorial we will be taking the static application we created in my previous tutorial and deploying it to Heroku, using git. When I was just starting with Ruby on Rails, I was having a lot of trouble getting my head wrapped around how to get my application onto the internet. When searching for solutions on google, I did find some solutions such as Capistrano. Capistrano is a great tool used by a lot of people to deploy but it is a little intimidating for beginners such as me. Today we are going to:

  • Use Git and Github for versioning our app
  • Set up our app for heroku
  • Download the Heroku toolbelt
  • Push our application to Heroku

Continue reading “How to Use Git and Heroku to Deploy”

How to Make a Static Website With Ruby on Rails

howtobuildastaticwebsite

I have been going through a lot of tutorials about how to create Ruby on Rails apps. Most start off pretty simple then get into advanced topics that some beginners might not like to get into so quickly. I spent hours one day just trying to figure out how to make a completely static app. An app that I could just put some HTML into and use like it’s a regular website, You may be thinking to yourself right now “Why would I ever want to do that, the whole reason I want to learn Rails in the first place is to make cool web apps that actually do things.) And yes your right that’s why I want to create Rails apps too. A static app, however, will give you a little bit of confidence that you will actually be able to get something created and on the web. Nothing that will complicate things and break once you go from development to production environments for example. So let’s get something very basic up and running with rails in this tutorial we will:

  • Create a Rails app
  • Use the Bootstrap Gem installed
  • Make a simple layout
  • Create some static pages

Continue reading “How to Make a Static Website With Ruby on Rails”

The Layoff

layoff traps

It finally happened, after a year of speculation, I finally received the call that my job had ended. The layoff came hours before my scheduled flight was suppose to take off, which kind of surprised me since it seemed last minute, but then I remember that some of my co-workers didn’t even get the call and arrived at the airport to learn that their ticket had been cancelled. So many I was lucky considering I didn’t have to wake up at 4 A.M. the next morning and learn the hard way.

What does this mean for my plans of switching careers? Well obviously now it’s going to happen quicker and forced, opposed to learning bits and pieces as I continue making money at my day job. More pressure is added since I do have bills and other financial obligations to fulfil, it will be hard to keep focused more than ever now with the weight of these things piling up can cause a lot of unneeded stress. This is not the way I would have planned it but almost nothing in life goes as planned, unfortunately.

Continue reading “The Layoff”

“I Don’t Have Time”

P1010464

It can be hard to find the time to learn new skills and switch careers when you already have a full-time job. You may also have your time at home pretty booked up. In this article, I will go over some ideas on how to learn new skills with a busy schedule.

I’m pretty busy most of the time. I work 14 days away from home and I am off for 7. Which turns into 14 days at work, 5 days at home and 2 travel days. I have a girlfriend, a 7-year-old, and one on the way in the next month. So things will get even busier. My regular work day is 10 hours, 7 days a week. This makes for a little free time, But I make it work.

Use Every Free Moment

I take the bus to work. So this gives me 2 hours to listen to audio books and podcasts or check on some articles. I wouldn’t be able to learn a whole programming language but just using every free moment to learn new things will get your brain working and thinking of new ideas for your new career.

While at work, on breaks and lunch. I take that free time to read blog posts and do research on things I want to try when I’m back in my room, and able to access a computer. This is effective but try not to be too anti-social. Find a nice balance between learning new things and still a normal human being.

Continue reading ““I Don’t Have Time””