tansaku/LocalSupport

View on GitHub
app/services/without_timestamps.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [7/5] (https://github.com/bbatsov/ruby-style-guide#short-methods)
Open

  def self.run
    old = ActiveRecord::Base.record_timestamps
    ActiveRecord::Base.record_timestamps = false
    begin
      yield
Severity: Minor
Found in app/services/without_timestamps.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

There are no issues that match your filters.

Category
Status