rokumatsumoto/boyutluseyler

View on GitHub
app/controllers/concerns/ahoy_actions.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [209/100]
Open

  # In our scenario user must view the design before async jobs. (download, like, save) When the user views the design, a visit record will be created if 'visit_duration' (4.hours) time expired at that moment.

Line is too long. [121/100]
Open

  # In designs_controller.rb we track events named 'Viewed design' 'Downloaded design', 'Liked design' and 'Saved design'

Line is too long. [171/100]
Open

  # Ahoy uses 'request' object for accessing 'traffic source', 'technology', 'UTM parameters' etc. (https://api.rubyonrails.org/v6.0.0/classes/ActionDispatch/Request.html)

Line is too long. [408/100]
Open

  # Users may visit the design very close to the end of the 'visit_duration', after that visit 'visit_duration' time may be expired. Clicking the download button creates a new visit record because 'visit_duration' time expired. This new visit record will contain missing data about 'traffic source', 'technology', 'UTM parameters' etc. because Ahoy will be unable to access 'request' object in the async job.

There are no issues that match your filters.

Category
Status