Start by reading this -> http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/dce05002d11b4849?hl=en#
The group archive is always a good place to start your search before sending messages. - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Sat, Feb 28, 2009 at 6:27 PM, ms <[email protected]> wrote: > > Hello, > > I've got some code, which I would like to reuse. The only difference > between the usages are the class names and therefore the different > objects. How would you manage this? Is there a way to take the class > names as strings? Do you know other solutions, a suitable pattern, for > example? > > Thanx for any suggestions! > > Best regards, ms > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

