…debugging, add config.assets.compile and config.assets.digest
This ensures that the protocol does not get carried over when there are two or more requests in functional tests. This was a problem when e.g. the first request was HTTP and the second request was HTTPS. Closes #2654. Signed-off-by: Andrew White <email@example.com>
Regexps have a construct to express alternation of characters, which is character classes. In addition to being the most specific idiom to write this pattern, it reads better without the backslashes. Also, it is better not to use a capture if none is needed. As a side-effect of these changes, the gsub is marginally faster, but speed is not the point of this commit.
XSS attacks. Thanks Sascha Depold for the report.
…ns that it doesn't force Action Controller / Active Record to load, but it doesn't fail if they have already loaded. Thanks @josevalim for the hint.
…zer - use config object instead. Cuts about 15% off the load time. (#734)
…if RAILS_ENV was not provided
…error with nil class.
…::Error#message and Template::Error#inspect." This reverts commit 403b06e. The call to `message` calls `inspect` on our exception. The exception holds a reference to the environment, and the controller. This string becomes very large, and the call to `super` dups the string (in tern doubling the memory used). I'm reverting this for 3.1 but leaving the commit on master. We should stop holding references to so many objects and reduce the size of our inspect.