Just a couple of weeks into being a rails developer, I made the one really, really, really big blunder — I used a find_by_sql in a search page. (Oh, please… stop booing. I was a newbie then.) Now, I’ve realized that I might have to modify the search to add yet another column, and well… [...]
Recently I was trying to find ways to import data from excel spreadsheets into the database in a rails project. We needed to save the data from the client’s excel file into the database. Here’s how it can be done using a rake task.
The file will have to be in CSV format, so you’ll have [...]
Create a simple countdown timer using javascript and HTML that counts down to an event. This example used in this tutorial counts down to the FIFA world cup 2010.
For a few days now, I’ve been working on a wordpress based website where I have to edit quite a few files directly on the server. I used wordpress’ theme and plugin editors for the first day, but it soon became too difficult to edit the files that way and I had to look for [...]
jQuery allows you to easily create a datepicker and customize it according to your requirements. Here’s a quick look at how you can get started with using the jQuery datepicker.
The jQuery website has a nice application called Themeroller that lets you customize the interface for jQuery UI widgets. There are also plenty of themes available [...]