From ef7eeb8ed18092bde97ebc30d249d32e56d5645f Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 22 Feb 2014 11:12:06 -0700 Subject: found a weird bug with jbuilder and trying to render the location json node. --- app/models/location.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') 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 -- cgit v1.2.3