Archive for June 16th, 2006
Plugin: NumbersToWords
In my RAILS application I need to convert numbers to words. I started writing own function but before I finish that I got an amazing Plugin.
This Plugin is capable to convert number to words.
Following are some examples
>> 5.to_english
=> “five”
>> 123456.to_english
=> “one hundred twenty-three thousand four hundred and fifty-six”
>> 2.5.to_english
=> “two”
>> (2.5).to_english
=> “two”
>> (2.5).to_dollars
=> “two dollars and fifty cents”
>> 5.to_japanese
=> “go”
>> (2.5).to_japanese
=> “ni”
install this plugin by :
script/plugin install http://svn.recentrambles.com/plugins/numbersToWords
2 comments June 16, 2006
Ajax Scaffold Generator
I was searching for something about rails and find a very interesting thing. The Ajax Scaffold Generator.
The ajax scaffold generator is just too simple!.
One thing you must remember if using this ajax scaffold generator is that the browser back buttn might not work. I liked it very much and highly recomend this tool.
you can install this by issuing the following:
gem install ajax_scaffold
If you are interested in learning RJS template then you must go through its code in lib dirctory.
Find RJS template book here http://www.oreilly.com/catalog/rjsrails/
1 comment June 16, 2006
Optimize your rails application
If you want to speed up your Rails applicatoin, Please read this article…I think this can help you….
http://www.infoq.com/articles/Rails-Performance
Add comment June 16, 2006






