Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AssetNotPrecompiledError behavior #2860

Merged
merged 1 commit into from Sep 4, 2011

Conversation

guilleiguaran
Copy link
Member

AssetNotPrecompiledError should be raise when config.assets.digest = false, config.assets.compile = false and asset isn't present in manifest file

Actual result: assets aren't digested, but are being compiled by Sprockets (the compile flag is being ignored)

Expected result: AssetNotPrecompiledError must be raised since the user is trying to request a not precompiled asset and compile flag is false.

This can be merged safely in 3-1-stable and master

…false, config.assets.compile = false and manifest file isn't present
@guilleiguaran
Copy link
Member Author

cc @spastorino

spastorino added a commit that referenced this pull request Sep 4, 2011
Fix AssetNotPrecompiledError behavior
@spastorino spastorino merged commit 6521cf3 into rails:master Sep 4, 2011
spastorino added a commit that referenced this pull request Sep 4, 2011
Fix AssetNotPrecompiledError behavior
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants