Announcing the release of this tiny useful plugin AutoTags. A couple of weeks ago I travelled to Mumbai in train which was a long 17hrs journey… and I utilized that by coding down the idea while travelling. So here it comes… AutoTags, an open source project, is a plugin for [ Read More ]
The ruby is getting changed and improved a lot with every release. No doubt the existing demerits of rails are soon going to be history. Currently for my rails applications I am running Ruby1.8… and exploring 1.9 to get ready as we are heading with nice speed in the rails [ Read More ]
I was reading something about how to avoid the distractions and the article exemplified it using a scene from the Indian mythology ‘Mahabharata’ where the Guru Dronacharya asked all the students to aim at the bird’s eye sitting at a branch of the tree, then he asked what you can [ Read More ]
There are a couple of ways described in acts_as_solr documentation for the logical search, with AND or OR operations. But I needed to dig a bit into the code as the documentation is not complete and doesn’t suggest all the possible implementations of making the complex Logic Gates for searching. [ Read More ]
For Rails applications I am using THIN on my local machine since a couple of weeks and found it better than Mongrel. I’ve started replacing mongrel with THIN on servers as well. THIN leverages the best of the available resources… It uses mongrel’s parser along with the Eventmachine and the [ Read More ]
Today’s market is the market of the Design but the technology. Not only related to the web applications but in a very generic sense. The greatly designed application basecamp turned Rails into a favorite framework of numerous programmers all over the globe. But the non-tech end users who are using [ Read More ]
Setting up custom error pages are needed whenever the app goes in maintenance or when the code gets crashed … In Nginx, its fairly simple but once when you know it. Say your app example.com is residing in /var/www/apps/example Nginx configurations say your existing configuration looks like… server{ listen 80; [ Read More ]
Ruby 1.9 provides the block scoping of the local variables. It shadows the outside local variable in the block and allocates a new object_id in the memory to the block variable, which essentially means much more flexibility in using the lambdas without worrying about the name of the block variable. [ Read More ]
If you have installed ruby using apt-get or if you have not mentioned the configuration option for openssl while installing from source, you can expect openssl will not work with ruby. Here is the solution for the same… Step 1 Install gcc and make(if you don’t have already on your [ Read More ]
In a fresh Ubuntu, not having the locales setup, it shows warning every time while installing any software/library and while stopping/restarting as well. You can setup the required locales easily. The following example shows the simple steps to setup the en_IN UTF-8 locale. Step 1 Edit or Create the file [ Read More ]