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


Important Notice…

I have moved this blog to http://webonrails.com . I will continue posting at http://webonrails.com, not on http://webonrails.wordpress.com.

Kindly update your book marks to http://webonrails.com

and http://webonrails.com/feed .

I am really very sorry for inconvenience.

Comming Soon….

Domain for Sale

TheRailsHosting.com


(Contact me)

c

Top Posts

Recent Posts

Recent Comments

jyoti on Ruby On Rails India
extessBob on My new HP Pavillion DV2117…
clexmases on My new HP Pavillion DV2117…
i can haz ajax? on Uploading files using AJA…
Peter on Plugin: NumbersToWords

rails

Ruby

RubyonRails

Calender

June 2006
M T W T F S S
« Apr   Jul »
 1234
567891011
12131415161718
19202122232425
2627282930  

Archives

Subscribe

  • Add to Google
  • Subscribe in NewsGator Online
  • Subscribe with Bloglines
  • WebOnRails on feedburner
  • technorati

del.icio.us

Feeds

Flickr Photos

iris

Icing on the Cake

* 7 EXPLORE

More Photos

Visitor’s Location

Spam Blocked

Blog Stats