search for: foo_production

Displaying 1 result from an estimated 1 matches for "foo_production".

2006 May 16
2
Dynamically choosing schema using one Model
Hi all, is there a way in RoR to dynamically set the table to which the Model must refer to? I''d like to create a sorta "dispatcher" that chooses the table for the Model based on an HTTP/GET var. To put it in another way my Model would be fed with data coming from different tables based on this var passed from the querystring. Thanks, Lorenzo -- Posted via