The Indian Rupee sign (₹) is the currency sign for India. Though its relatively new, its been widely used to display indian currency on web. Various solutions facilitate the usage of this new symbol on web such as Webrupee trying to make it first class citizen in the currency world. The Unicode technical committee accepted the … 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
Validating single model attribute in rails
Checking a single attribute on a model for validity doesn’t seem to be possible in Rails. Or at least I couldn’t find a quick answer googling around or looking through the ActiveRecord code. What I really want to do is pass a hash into valid? with the attributes I want to validate or have an … Continue reading
Creating local copies of Rails API doc and guides
If you are a programmer, am sure you know the importance of API documentation no matter what language you are using and what level of expertise you have. I personally have API documentation bookmarks of all the technologies i use for my quick reference. Still i prefer to have a local copy of the same … Continue reading
Useful Ruby on rails Articles
Rails continues to be popular and for someone to get start a good tutorial might be the difference. Ruby on rails has a rich ecosystem with extensive documentation online. In this post find useful Ruby / Ruby on rails online resources in no particular order. I will update this post whenever i find a good … Continue reading
Rails tips | Part 1
I would like to share in this series of posts all the beauty of rails i’ve come across till date. To know different options while creating a rails application To create a rails application with a specific rails version Using to_param for SEO friendly slugs To re-load console with the data created in the session. … Continue reading
Installing wkhtmltopdf on centos
Wkhtmltopdf is s simple shell utility to convert html to pdf using the webkit rendering engine. You can find the official documentation here. This is one of the important dependencies for software related to PDFs. In this article i will show you how to install this utility on a CentOS machine. Grab the installer from … Continue reading
Ubuntu 12.10 announced | Issue with Broadcom wireless
Canonical have launched Ubuntu 12.10 with the slogan “Avoid The Pain of Windows 8“. This latest version sports many cool upgrades like Unity Previews, Theme tweaks, and Unity Webapps to name a few. You can download it from the Ubuntu website as usual. In case you want to upgrade from Ubuntu 12.04 to 12.10 run … Continue reading
Simplifying dropdowns using Chosen in Rails
Did you ever thought that selecting one from a long list of options in a dropdown is a pain ? Did you ever thought that dropdowns are less user-friendly ? With the magic of JQuery using dropdowns in your web pages is going to be fun again. Chosen is a Javascript library that makes long … 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