Permalink
Browse files

Don't delete artist if gig deleted

  • Loading branch information...
mbailey committed Jul 31, 2009
1 parent 351d150 commit 52a718aed88b8795ffcad98d51336ebef3c55961
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/gig.rb
View
@@ -1,5 +1,5 @@
class Gig < ActiveRecord::Base
- belongs_to :artist, :dependent => :destroy
+ belongs_to :artist
belongs_to :venue
default_scope :order => 'date'

0 comments on commit 52a718a

Please sign in to comment.