Tagged with Ruby

Using html entities in Ruby

HTML character entities are used to display reserved characters in a web page. The entire list of character entity references can be found here. Sometimes you may want to use HTML entities inside your ruby code. This is where gem htmlentities comes into picture. This is a simple library to facilitate encoding and decoding of … Continue reading

Ruby tips | Part 1

I would like to share in this series of posts all the beauty of the language Ruby i’ve come across till date. Ruby arrays is a shortcut for In this literal syntax each element of the array is separated using space.However, if your element itself has space in it we can escape that space using … Continue reading

Installing Ruby and Rails on Ubuntu using RVM

In my previous post i’ve explained how to setup the ecosystem for Ruby on Rails on ubuntu 12.10. That includes installing Ruby, Rails, Gems and other necessary packages which lessen the pain while working with Ruby. The Ruby ecosystem is very dynamic and you will come across latest versions of the software every now and … Continue reading

Setting up Ruby on Rails in Ubuntu 12.04

Ubuntu 12.04 LTS, code named as Precise Pangolin is the latest release from Ubuntu getting rave reviews from both users and critics. There are many reasons to love this version be it thousands of free apps, free upgrades for life, enhanced security, features like HUD, Video lens and above all Unity interface replacing traditional GNOME. … Continue reading