-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove require_if_necessary, since it is no longer necessary (#412)
I think this was added to support loading constants that hadn't been autoloaded yet, back when we marshal dumped the record objects themselves and before active support patched Marshal.load to do this. This is no longer necessary, because we cache the attributes before they are type cast to avoid making them dependent on active record's object format or any constant names.
- Loading branch information
1 parent
7acb986
commit b2b69be
Showing
1 changed file
with
26 additions
and
48 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