On 14 Aug 2012 04:38, "ZeroModulus" <[email protected]> wrote: > > The number of records would vary widely. > > I thought of doing deleted tables because I had already thought of having an attribute to mark a record as active, but figured I would have to write an exclusion clause every time. > > Would there be a way to do this without having to write exclusion clauses for every query? >
Have a look at the acts_as_paranoid gem. -- 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 https://groups.google.com/groups/opt_out.

