Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Conversation

bricker
Copy link
Contributor

@bricker bricker commented Apr 30, 2013

See rails/rails#10377

The regular expression would not match templates with numbers in the filename. For example:

<%= render 'shared/layout_1' %>

Would result in (in the log):

Couldn't find template for digesting: shared/layout_.html

... and the dependency would not be made.

@rafaelfranca
Copy link
Member

Could you update this pull request too?

…omatically

Remove tracker after test

Use \w for matching
@bricker
Copy link
Contributor Author

bricker commented May 7, 2013

@rafaelfranca 👍 Thanks

rafaelfranca added a commit that referenced this pull request May 7, 2013
…ncy_filenames

Partials with numbers in the filename can be used as dependencies automatically
@rafaelfranca rafaelfranca merged commit 07851cf into rails:master May 7, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants