From: arjun ghosh Date: 2007-05-07T16:09:10+09:00 Subject: [RAILS] passing by value of object of a model ------=_Part_10072_22877556.1178521748422 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, can anyone tell me - is it possible to pass a string name equivalent of a model name(example:- have a model called food_dept and i am passing the string "food_dept" to a method) and then covert(or cast) it to its original model equivalent so that i can use its object in the called method. and why i am i trying to this manner is because i want to avoid passing an object which will make it very heavy. i think there should be some better elegant manner of doing this. can any one help me with this? ciao -AG ------=_Part_10072_22877556.1178521748422--