On Sat, Oct 15, 2016, at 22:10, Usman Shahid wrote:
> Actually these tables and models are dynamically added to the database,
> every addition requires creating a new model in the system which contains
> nothing but the table name. I'm trying to avoid that by creating a single
> model which can handle multiple tables given a table name using
> ActiveRecord query interface.
You're probably better off using arel directly instead of bending ar
to your need.
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 post to this group, send email to firstname.lastname@example.org.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.