From 9788ee069af46d9e7b4e8a9635528fe8fcbd379c Mon Sep 17 00:00:00 2001 From: Toks Date: Mon, 19 Jan 2015 14:40:33 -0500 Subject: [PATCH] fixes #2322 --- app/models/artist_url.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/artist_url.rb b/app/models/artist_url.rb index fc860f403..4ffd09515 100644 --- a/app/models/artist_url.rb +++ b/app/models/artist_url.rb @@ -2,7 +2,7 @@ class ArtistUrl < ActiveRecord::Base before_save :initialize_normalized_url, on: [ :create ] before_save :normalize validates_presence_of :url - belongs_to :artist + belongs_to :artist, :touch => true attr_accessible :url, :artist_id, :normalized_url def self.normalize(url)