Commit ee03174e64186d90c15ab0532482f7fb84655fae

Authored by Nick Recobra
1 parent 4f9d8f39
Exists in master and in 1 other branch production

Using belongs_to instead of referenced_in.

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/models/watcher.rb
... ... @@ -5,7 +5,7 @@ class Watcher
5 5 field :email
6 6  
7 7 embedded_in :app, :inverse_of => :watchers
8   - referenced_in :user
  8 + belongs_to :user
9 9  
10 10 validate :ensure_user_or_email
11 11  
... ...