summaryrefslogtreecommitdiff
path: root/app/models/route_element.rb
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-18 09:45:54 +0100
committerspag <spag@golwen.net>2013-01-18 09:45:54 +0100
commit808c04b5b1776927dc7b854bb2a69d34b287c24c (patch)
tree79e7723f64ed3cfa6d8bc0f2e35568bfe994b104 /app/models/route_element.rb
parentf4abcadbee2dac3f2d8e4dc710af364300aa41bf (diff)
validations removed
Diffstat (limited to 'app/models/route_element.rb')
-rw-r--r--app/models/route_element.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/app/models/route_element.rb b/app/models/route_element.rb
index 32f730d..87b26ef 100644
--- a/app/models/route_element.rb
+++ b/app/models/route_element.rb
@@ -7,12 +7,6 @@ class RouteElement < ActiveRecord::Base
acts_as_list :scope => :call_route
- validates :var_in,
- :presence => true
-
- validates :pattern,
- :presence => true
-
validates :action,
:presence => true,
:inclusion => { :in => ELEMENT_ACTIONS }