diff options
author | Christos Zisopoulos <christos@42linesofcode.com> | 2009-05-29 15:42:44 +0200 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2009-06-26 16:47:15 +1200 |
commit | 18a97a66017452dbe6cf6881c69d7a7dedc7a7bd (patch) | |
tree | 627920ffa4d8f0083b17ea91811b6d946230f3e7 /activerecord/lib/active_record/transactions.rb | |
parent | 8ee60660cec54f008ddaa54a4e8e06d099d8c7f5 (diff) | |
download | rails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.tar.gz rails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.tar.bz2 rails-18a97a66017452dbe6cf6881c69d7a7dedc7a7bd.zip |
Handle missing javascript/stylesheets assets by raising an exception
An exception will be raised if a local javascript/stylesheet file included
by the stylesheet_link_tag or javascript_include_tag can not be found.
When caching is enabled, we use atomic_write to ensure that the cache file
is not created with zero length.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2738 state:committed]
Diffstat (limited to 'activerecord/lib/active_record/transactions.rb')
0 files changed, 0 insertions, 0 deletions