cleaned venue controller update method

This commit is contained in:
Gopesh Tulsyan 2014-06-13 22:50:46 +05:30
parent 7c35e39531
commit b94ee7e758
2 changed files with 8 additions and 7 deletions

View file

@ -1,4 +1,5 @@
class Venue < ActiveRecord::Base
attr_accessible :name, :description, :address, :website
has_many :conferences
before_create :generate_guid