Adding a Favicon to Your Website

Most of the websites you visit look professional. They even have their own icon sized down to appear as part of the tabs you see across the top of your browser, with the name of the website to boot. The default for a Rails project doesn’t look so pretty. Continue reading “Adding a Favicon to Your Website”

Adding a Favicon to Your Website

Rspec for OmniAuth

Working on a group project as part of the Building the Toolbelt of a Junior Ruby on Rails course that I am taking, I implemented the use of OmniAuth. I followed the example that we had learned in class. We have been using Rspec for our TDD, however, we had not learned the specific tests to write for OmniAuth. How hard could those be?

Continue reading “Rspec for OmniAuth”

Rspec for OmniAuth

Easiest Way to Display a Short If/Then/Else Statement

Ruby has many styles of handling conditional statements. You can use big, indented blocks of code if your program has complex statements. However, if you can say it all on one line, this often saves you time, and saves the time of people who may be reading your code later. It’s time to use the Ternary Operator.

Continue reading “Easiest Way to Display a Short If/Then/Else Statement”

Easiest Way to Display a Short If/Then/Else Statement

Basic Program Iteration Management Using Git

Git and Github are ways of keeping track of software changes over the course of its development. Git helps keep track of changes to a project on your local device. Github manages the project online, and allows multiple developers to work on the same files together.

Continue reading “Basic Program Iteration Management Using Git”

Basic Program Iteration Management Using Git