app/models/rule_parameter_set.rb
Method mode_default_params
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def self.mode_default_params
{
:coach => {
:allowed_transport_mode_coach => false,
:inter_stop_area_distance_min_mode_coach => 500,
File rule_parameter_set.rb
has 312 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
class RuleParameterSet < ActiveRecord::Base
belongs_to :organisation
#validates_presence_of :referential
validates_presence_of :name
Class RuleParameterSet
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class RuleParameterSet < ActiveRecord::Base
belongs_to :organisation
#validates_presence_of :referential
validates_presence_of :name