Skip to content

tables created but no class files #41

beecourt opened this Issue Nov 30, 2011 · 1 comment

2 participants


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?


Account model:

class Account < ActiveRecord::Base
has_many :invoices, :dependent => :destroy


  - class: Account::Archive
    table: archived_accounts
  - class: Invoice::Archive
    table: archived_invoices
johncant commented Jan 3, 2012

No, this is normal behaviour. The classes must be created dynamically somehow.

@beecourt beecourt closed this Feb 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.