app/models/service_template.rb
Avoid immutable Array literals in loops. It is better to extract it into a local variable or a constant. Open
Open
%w[id created_at updated_at service_template_id].each { |key| nh.delete(key) }
- Create a ticketCreate a ticket
- Exclude checks
Avoid immutable Array literals in loops. It is better to extract it into a local variable or a constant. Open
Open
%w[id created_on updated_on type state status message].each { |key| nh.delete(key) }
- Create a ticketCreate a ticket
- Exclude checks