Hi, Does someone know rails polymorphic very well and can explain me how I can do something similar than polymorphic and change dynamically the table name for a polymorphic attribute. I know already that normally you need a have a "_type" attribute to define the table name, but I would like to define my own way to retrieve to table name. I was trying with table_name="xxx" but it doesn't works
thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/faa10d00-baa2-40c5-907d-1ba7b8015d9c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.