diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/chouette/line.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/chouette/line.rb b/app/models/chouette/line.rb index 9f5d4ea85..c3a867caa 100644 --- a/app/models/chouette/line.rb +++ b/app/models/chouette/line.rb @@ -22,7 +22,7 @@ class Chouette::Line < Chouette::ActiveRecord attr_accessor :transport_mode # validates_presence_of :network - validates_presence_of :company + # validates_presence_of :company validates_format_of :registration_number, :with => %r{\A[\d\w_\-]+\Z}, :allow_nil => true, :allow_blank => true validates_format_of :stable_id, :with => %r{\A[\d\w_\-]+\Z}, :allow_nil => true, :allow_blank => true |
