diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 11:12:06 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 11:12:06 -0700 |
| commit | ef7eeb8ed18092bde97ebc30d249d32e56d5645f (patch) | |
| tree | 28b6d98b366230ee1a0e559272ffee18d38c9b3f /app/models | |
| parent | 64d63822a09d674d1257759b593a562711305d75 (diff) | |
found a weird bug with jbuilder and trying to render the location json node.
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/location.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/location.rb b/app/models/location.rb index bf7b7ef..b74eabc 100644 --- a/app/models/location.rb +++ b/app/models/location.rb @@ -1,3 +1,3 @@ class Location < ActiveRecord::Base - belongs_to :license + belongs_to :license, autosave: true end |
