app/mailers/observer_mailer.rb
Method has too many lines. [12/10] Open
Open
def observer_added_notification(observation, reason)
@proposal = observation.proposal.decorate
@observation = observation
@reason = reason
@recipient = observation.user
- Read upRead up
- Exclude checks
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.