How many records are you talking about? For a few records, once in a while, you could do it in Ruby - Google using ActiveRecord outside of Rails for some more info.
Why do you have deleted tables? You might consider adding a field like "Active" and filter the non active records On Monday, August 13, 2012 10:42:10 PM UTC-4, ZeroModulus wrote: > > For every table in my app there is a corresponding deleted_.* table. I > would like to be able to copy a record to its corresponding deleted_.* > table. How might I achieve this? > > If I have to have models for a deleted record, could I use some > metaprogramming magic to create these models? How would I do that if so? > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/fvDlEkHRflsJ. For more options, visit https://groups.google.com/groups/opt_out.

