Site Archives

wanna add keyboard shortcuts to your web application?


Today I was looking for some javascript to add keyboard shortcuts to my project. And after little search on google I came across a very cool and lightweight javascript library shortcuts.js .
This library allows you to make keyboard shortcuts on a fly.
Example:

shortcut(”Ctrl”,function() {
alert(”Hi there!”);
});

Please visit this site to know more about this javascript library.

renaming all your .rhtml files to .erb file


As all of us know that .rhtml is deprecated now, we should use .erb instead. I found some lines of code that can svn move all your rhtml files to erb.
Please find that code here

Rails presentation and workshop at DayalBagh Educational Institute, Agra, India


Two weeks ago we went to DEI(DayalBagh Educational Institute) to present Ruby and Rails. We also had a whole day workshop there.
It was really a big fun. We (me and my colleagues Sur & Hemant ) enjoyed it very much. People (students of M.Sc, PGDCSA and course coordinator) were very interested in Ruby and Rails. [...]