Ruby Count vs Length vs Size

These methods are used on Arrays, Hashes or Objects. This tutorial will illustrate difference between count length and size.

»
Author's profile picture Akshay Mohite on Rails |

Rails RecordNotFound Exception Handling

Rails RecordNotFound exception occurs when there is error while fetching records from database. RecordNotFound is one of the Exception Handling class provided by Rails.

»
Author's profile picture Akshay Mohite on Rails |

SVN command to check modified files

While using SVN command line, you may need to see status codes of modified/changes files. In this tutorial we will learn SVN command to check modified files.

»
Author's profile picture Akshay Mohite on Subversion |

database.yml rails

Database.yml is one of the most important files in rails project, database.yml rails is actualy a configuration file.

»
Author's profile picture Akshay Mohite on Rails |

Lazy loading in rails – Rails Feature

Lazy loading in rails is the amazing feature provided with rails. In console you might have tried to examine how lazy loading in rails actually works. In this tutorial, we will learn about this Rails - Lazy loading feature with examples.

»
Author's profile picture Akshay Mohite on Rails |

Basic svn commands with examples

In this tutorial, we will learn basic svn commands like svn commit, svn checkout, svn copy, svn merge, svn status, svn delete, svn merge, svn log etc that are extremely useful. And how these commands are used with proper example.

»
Author's profile picture Akshay Mohite on Subversion |

Check if key exists in hash

In Ruby on Rails Programming you might have to check if key exists in hash and based on that you might have to perform other operation. There is a simple way to detect if key exists in particular hash.

»
Author's profile picture Akshay Mohite on Ruby |

rake db migrate with down, up, redo, rollback options

rake db migrate - This can be used to migrate your production/test database using various options like up, down, step, redo, version etc. In this tutorial we will learn how all these options can be used with rake tool to migrate the database.

»
Author's profile picture Akshay Mohite on Rails and Ruby |

ruby difference between single and double quotes

In “Ruby difference between single and double quotes” is very common question that you might come across while using single quotes and double quotes in Ruby on Rails development. We will see in this tutorial what is exact difference between these two ways.

»
Author's profile picture Akshay Mohite on Rails |

uncaught exception address already in use bind(2)

uncaught exception address already in use bind(2)

»
Author's profile picture Akshay Mohite on Rails |

NoMethodError: You have a nil object when you didn’t expect it!

NoMethodError: You have a nil object when you didn’t expect it!

»
Author's profile picture Akshay Mohite on Rails |

What is gemset in Ruby on Rails?

This article will help you understand what is gemset in ruby and all about creating and using gemsets in Ruby and RVM.

»
Author's profile picture Akshay Mohite on Rails and Ruby |

What is gemfile.lock

What is Gemfile.lock? or What is the difference between Gemfile and Gemfile.lock? These are the common questions that you come across while starting development with Rails project.

»
Author's profile picture Akshay Mohite on Rails |

How to install ruby on MAC

How to install ruby on MAC?

»
Author's profile picture Akshay Mohite on How-To and Rails |

Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ (2)

You might have came across this error when you tried development of Ruby on Rails project with MySQL as your development database.

»
Author's profile picture Akshay Mohite on MySQL |