search for: deshpan

Displaying 2 results from an estimated 2 matches for "deshpan".

2008 Mar 18
4
Can an object obj-arbitrary respond to a method with arbitary name?
For example: I create an object c. Now, if I call c.xxx, ruby just raise an exception ''method missing'' But, I want it return nil, for each method which is not pre-defined. Is there a way I can gain this ? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To
2008 Mar 17
2
sort the collection in the index.rhtml
Hi, i am using rails 1.2.6 please forgive me as this application is live and i could not find the time to move it to rails 2.0 i have a index.rhtml for items item has 3 attributes other than id, they are name, category and size current status => inside the index.rhtml i obviously already display my data as below: name category size a mugs L aa mugs M abc