mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c3c1c32f4b
Previously FixtureResolver had a copy-pasted version of the filtering already done by OptimizedFileSystemResolver. This PR replaces this by extracting the two places actual filesystem operations into separate methods and overriding those. It would be nice to not rely on overriding methods at all, and to extract the actual filtering into a separate, reusable class, but I don't want to do that until some other changes are made to the filtering. This should also make FixtureResolver much more accurate to OptimizedFileSystemResolver, by also creating and caching the UnboundTemplate classes, which de-duplicate templates. |
||
---|---|---|
.. | ||
resolvers.rb |