Showing 47 of 47 total issues
Avoid too many return
statements within this method. Open
Open
return [data, :max] if options[:max] && data > options[:max]
Avoid too many return
statements within this method. Open
Open
return [nil, :before]
Avoid too many return
statements within this method. Open
Open
return [data, nil]
Avoid too many return
statements within this method. Open
Open
return [data, :max] if options[:max] && data > options[:max]
Avoid too many return
statements within this method. Open
Open
return [data, :min] if options[:min] && data < options[:min]
Avoid too many return
statements within this method. Open
Open
return [nil, :before]
Avoid too many return
statements within this method. Open
Open
return [res, nil] unless res.nil?
Avoid too many return
statements within this method. Open
Open
return [data, :max_length] if options[:max_length] && data.length > options[:max_length]
Avoid too many return
statements within this method. Open
Open
return [data, :size] if data.size > options[:size]
Avoid too many return
statements within this method. Open
Open
return [data, :model]
Avoid too many return
statements within this method. Open
Open
return [data, nil]
Avoid too many return
statements within this method. Open
Open
return [data, :max_length] if options[:max_length] && data.length > options[:max_length]
Avoid too many return
statements within this method. Open
Open
return [nil, :date]
Avoid too many return
statements within this method. Open
Open
return [data, :integer]
Avoid too many return
statements within this method. Open
Open
return [data, :boolean]
Avoid too many return
statements within this method. Open
Open
return [nil, :after]
Avoid too many return
statements within this method. Open
Open
return [data, :in] if options[:in] && !options[:in].include?(data)
Avoid too many return
statements within this method. Open
Open
return [data, :in] if options[:in] && !options[:in].include?(data)
Avoid too many return
statements within this method. Open
Open
return [nil, :time]
Avoid too many return
statements within this method. Open
Open
return [nil, :date]