Project

General

Profile

Actions

Refactor #14434

closed

Refactor host token support into concern

Added by Dominic Cleal about 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The rails-observers gem can be removed with a small amount of refactoring. It was added with Rails 4 support in #7230 as it was removed from Rails core.

It's used for the HostObserver which contains one after_validation method to expire or generate build tokens when the build state changes, but this could be refactored away from observers.

Dropping the dependency will provide a very marginal installation and speed improvement.

Actions

Also available in: Atom PDF