Initial Rails4 Port
This commit is contained in:
parent
5923a66a88
commit
2e9b92c3af
19 changed files with 394 additions and 817 deletions
|
|
@ -59,8 +59,7 @@ class Conference < ActiveRecord::Base
|
|||
:start_date,
|
||||
:end_date
|
||||
validates_uniqueness_of :short_title
|
||||
validates_format_of :short_title, :with => /^[a-zA-Z0-9_-]*$/
|
||||
|
||||
validates_format_of :short_title, :with => /\A[a-zA-Z0-9_-]*\z/
|
||||
before_create :generate_guid
|
||||
before_create :create_venue
|
||||
before_create :create_email_settings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue