jwood/tenacity — Issue #31: How to handle AR migrations?
Author: yeggeps
Created: 2011-11-06 13:54:29+00:00
State: open

Say I have a User model:

```
class User < ActiveRecord::Base
include Tenacity
t_has_many :posts
end
```

And a post class:

```
class Restaurant
include Mongoid::Document
include Tenacity

field :title

t_belongs_to :user
end
```

If I try to migrate the User model Tenacity will raise an error cause the User table doesn't yet exist.

How would you tackle this?