1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Steve Klabnik afb053b4d3 Respect absolute paths in compute_source_path.
When using compute_source_path to determine the full path of an
asset, if our source begins with '/', we don't want to include
the directory. Examples are illustrative:

> compute_source_path("foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/stylesheets/foo.css"
> compute_source_path("/foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/foo.css"

Before this patch, the second example would return the same as the
first.

Fixes #5680.
2012-06-16 18:06:15 +02:00
..
abstract we raise a subclass of LoadError, so rescue that 2012-06-14 10:40:23 -07:00
activerecord Merge pull request #6588 from nbibler/polymorphic_to_model 2012-06-01 16:42:09 +02:00
assertions
controller adding a test for #6459 2012-06-14 14:17:06 -07:00
dispatch Fix build 2012-06-13 20:21:35 -03:00
fixtures Respect absolute paths in compute_source_path. 2012-06-16 18:06:15 +02:00
lib/controller Add HTML5 input[type="color"] helper 2012-05-21 17:23:48 -03:00
metal ActionController::Caching depends on RackDelegation and AbstractController::Callbacks 2012-06-13 16:18:03 -03:00
routing
template Respect absolute paths in compute_source_path. 2012-06-16 18:06:15 +02:00
tmp
abstract_unit.rb Allow to use mounted helpers in ActionView::TestCase 2012-06-01 17:45:06 +02:00
active_record_unit.rb
ts_isolated.rb