Minimize the number of “nested if statement” “nested if statement” is normally considered as the code smell. We should try to minimize the number of “nested if statement”, though we cannot avoid us...
How to set up the environment of Ruby on Rails
Install RVM and Ruby RVM is used to manage different version of ruby. With RVM, you can switch between multiple different version of ruby. To install RVM, simply type the following command in the...