Class: ActiveModel::Errors

Inherits:
Object
  • Object
show all
Defined in:
lib/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#are_all_conflicts?Boolean


97
98
99
# File 'lib/core_extensions.rb', line 97

def are_all_conflicts?
  self[:conflict].count == self.count
end