Ruby on Rails
 
 
 
Ruby on Rails
 
railslogo
railslogo
railslogo

The Pros and Cons of Using Ruby on Rails

What exactly is Ruby on Rails? Ruby on Rails often referred to as RoR or Rails is commonly defined as an open source full-stack web application for use with Ruby, a general purpose programming language. As a full-stack framewor...
 
Ruby on Rails
 
true-false-300x199
true-false-300x199
true-false-300x199

The Difference Between Nil, True, False, Blank and Empty in Ruby and Ruby on Rails

I would like to start my first post with a topic that i think is quite sensitive in Ruby. This is about recognizing the differences and similarities of a Nil, True, False, Blank and Empty expression. When i experiment with thes...

 
Ruby on Rails
 
route66road2-300x225
route66road2-300x225
route66road2-300x225

Customize Your Routes And Controllers For Devise in Rails 3

Devise is probably the leading Rails 3 authentication gem nowadays. It is pretty powerful and allows you to do many things over your authentication, such as use omniauth, send activation emails and much more. Setting it is pret...
 
Ruby on Rails
 
350px-ModelViewControllerDiagram2-300x137
350px-ModelViewControllerDiagram2-300x137
350px-ModelViewControllerDiagram2-300x137

What is The Model View Controller (MVC) Rails Pattern And How it Works

You may have already heard that Rails is based on the Model View Controller design pattern. The MVC pattern is a generally well known design pattern that is frequently met in frameworks, as well as many large scale objects, as ...
 
Ruby on Rails
 
got_git_tshirt-300x300
got_git_tshirt-300x300
got_git_tshirt-300x300

How to Setup a Rails Project on a Remote Server with Git

Most times when i want to set up a new rails project, i am looking for the correct order of doing this. What i should do first, what i should do last, and so on. The procedure of correctly creating a new rails project on a remo...

 
Ruby on Rails
 
simpson_demeterslaw-300x252
simpson_demeterslaw-300x252
simpson_demeterslaw-300x252

The Law of Demeter Design Pattern and How to Use it in Rails with the Delegate Method

The Law of Demeter, or also known as the principle of Least Knowledge, is a very interesting design pattern that you should use in your Rails projects. It enforces better encapsulation of your models and better defines its meth...