-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call context-specific includes for each taggable_on call
Don't include Utils multiple times
- Loading branch information
Showing
1 changed file
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e44b69d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are no tests and no issue referenced -- is there a demonstration somewhere of what this was supposed to fix? This change undid the work of 16c4567 -- it now re-includes most of the library every time subsequent calls are made like:
All of the modules define hooks like this so that the full
include
s shouldn't be needed every time:Those
initialize_*
class methods should do the work of dynamically defining new context-specific methods on subsequent calls of the macro.e44b69d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, it's #339 -- having a look over it now.
e44b69d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in #411.