diff options
| -rw-r--r-- | app/models/chouette/line.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/models/chouette/line.rb b/app/models/chouette/line.rb index ddd6fc37d..351cb0b0e 100644 --- a/app/models/chouette/line.rb +++ b/app/models/chouette/line.rb @@ -21,8 +21,9 @@ class Chouette::Line < Chouette::ActiveRecord attr_reader :group_of_line_tokens attr_accessor :transport_mode - validates_presence_of :network - validates_presence_of :company + # FIXME #825 + #validates_presence_of :network + #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 |
