winton/acts_as_archive — Issue #41: tables created but no class files
Author: beecourt
Created: 2011-11-30 17:16:19+00:00
State: open

I am using rails 3.0.7 with a_a_a 0.4.1 and MySQL.
There are ":dependent => :destroy" annotations in my models.
When I run rake db:migrate new tables will be created with "deleted_at" fields, but no new class files are created. Also there are no new/renamed id fields for the altered dependencies. Shouldn't there be any?

Example:

Account model:

class Account < ActiveRecord::Base

has_many :invoices, :dependent => :destroy

config/acts_as_archive.yaml:

Account:
- class: Account::Archive
table: archived_accounts
Invoice:
- class: Invoice::Archive
table: archived_invoices