aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* use autoload instead of explicit requires for ActionMailerJoshua Peek2008-11-2310-47/+63
|
* Move the cookie store to use the MessageVerifier class.Michael Koziarski2008-11-233-29/+18
| | | | This removes support for ancient cookie-store generated cookies which were double escaped.
* Don't need _message as it's in the class name alreadyMichael Koziarski2008-11-232-8/+8
|
* Add ActiveSupport::MessageVerifier to aid users who need to store ↵Michael Koziarski2008-11-234-0/+73
| | | | | | tamper-proof messages in cookies etc. This is particularly useful for things like remember-me tokens in web applications and auto-unsubscribe links in emails.
* Update the generated controller to not include the deprecated :secret option ↵Michael Koziarski2008-11-231-2/+1
| | | | to protect_from_forgery
* Change the forgery token implementation to just be a simple random string.Michael Koziarski2008-11-233-127/+15
| | | | This deprecates the use of :secret and :digest which were only needed when we were hashing session ids.
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-230-0/+0
|\
| * Allow helpers directory to be overridden via ↵Sam Pohlenz2008-11-235-7/+29
| | | | | | | | | | | | ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Docfix [#1444 state:committed]David Heinemeier Hansson2008-11-231-2/+2
| |
* | Allow helpers directory to be overridden via ↵Sam Pohlenz2008-11-235-7/+29
|/ | | | | | ActionController::Base.helpers_dir (Sam Pohlenz) [#1424 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added rake rails:update:application_controller to renamed application.rb to ↵David Heinemeier Hansson2008-11-232-1/+13
| | | | application_controller.rb -- included in rake rails:update so upgrading to 2.3 will automatically trigger it [#1439 state:committed] (kastner)
* Use a relative require for bundled rack libJeremy Kemper2008-11-221-1/+2
|
* Changed the fallback String#each_char to use valid 1.9 syntax.Tom Lea2008-11-221-1/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get ActiveSupport::TestCase working with classic Test::Unit and MiniTest. ↵Jeremy Kemper2008-11-223-106/+107
| | | | Fix broken Mocha + MiniTest. Assume ruby-core applies patch #771 fixing libraries which extend Test::Unit.
* Ruby 1.9 compat: don't shadow local var with block argJeremy Kemper2008-11-221-1/+1
|
* Fix indentation mismatchesJeremy Kemper2008-11-222-56/+56
|
* Extract state query method definition and quiet method redefinition warning.Jeremy Kemper2008-11-222-5/+8
|
* MiniTest compat: don't shadow @nameJeremy Kemper2008-11-222-5/+5
|
* MiniTest compat: don't check for test/unit's assertion in particularJeremy Kemper2008-11-221-1/+1
|
* Ruby 1.9 compat: don't use defined? on complex expressionsJeremy Kemper2008-11-221-1/+1
|
* Require mocha >= 0.9.0 for AS testsJeremy Kemper2008-11-2214-570/+524
|
* Switch script/server to use rack processorJoshua Peek2008-11-225-220/+95
|
* Vendor rack 0.4.0Joshua Peek2008-11-2242-0/+4225
|
* missed lighttpd configJoshua Peek2008-11-221-54/+0
|
* Drop lighttpd support from script/serverJoshua Peek2008-11-222-99/+1
|
* Kill dead "new_mongrel" handlerJoshua Peek2008-11-224-415/+2
|
* Add flush by ensure in script/runner because no flush in production mode ↵Cyril Mougel2008-11-221-7/+11
| | | | | | [#803 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* write_fragment returns content if caching is disabled [#846 state:resolved]Joshua Peek2008-11-222-12/+12
|
* Add TestResponse#client_error? to check for 4xx status codes [#851 ↵Lance Ivy2008-11-222-1/+12
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-2217-45/+204
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* Let ApplicationController stay unloaded for as long as possibleDavid Heinemeier Hansson2008-11-221-3/+1
|
* Reduced the number of literal aliases to the range that has actually seen ↵David Heinemeier Hansson2008-11-213-30/+6
| | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two
* ActionMailer should respect content type when choosing layoutsColin Curtin2008-11-215-2/+33
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed RFC-2045 quoted-printable bug [#1421 state:committed]Alexey Mahotkin2008-11-203-2/+4
| | | | | | | | | | | | | | | http://www.faqs.org/rfcs/rfc2045.html says: may be represented by an "=" followed by a two digit hexadecimal representation of the octet's value. The digits of the hexadecimal alphabet, for this purpose, are "0123456789ABCDEF". Uppercase letters must be used; lowercase letters are not allowed. ActionMailer, however, used "=%02x" specification. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fix straggling references to Test::Unit::TestCaseJeremy Kemper2008-11-201-8/+4
|
* Update changelog to reflect move from Test::Unit::TestCase to ↵Jeremy Kemper2008-11-201-0/+2
| | | | ActiveSupport::TestCase
* Require mocha >= 0.9.0 for Active Support tests. Don't manipulate the load path.Jeremy Kemper2008-11-201-32/+17
|
* Mocha 0.9.0 compatibility for test setup/teardown callbacksJeremy Kemper2008-11-201-4/+6
|
* Ensure only delegations to methods can have an automatic prefix. [#1235 ↵Daniel Schierbeck2008-11-212-0/+15
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge branch 'master' of git@github.com:rails/railsDavid Heinemeier Hansson2008-11-2073-8477/+881
|\
| * Mocha >= 0.9.0 must be available for Action Pack testsJeremy Kemper2008-11-191-12/+10
| |
| * need to make sure the asset type is cached with it in Cache.. name is ↵Aaron Batalion2008-11-192-2/+8
| | | | | | | | | | | | sufficient, not self Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * Fixed asset host to not cache objects [#1419 state:resolved]Aaron Batalion2008-11-191-29/+35
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Revert "Simplify benchmarking and rescue". Need a different approach.Pratik Naik2008-11-203-63/+68
| | | | | | | | This reverts commit 3be9134d1cb882f4be3be8d57b2f8bde5ecde887.
| * Simplify benchmarking and rescuePratik Naik2008-11-203-68/+63
| |
| * Reflect default locale change from en-US to enJeremy Kemper2008-11-191-3/+3
| |
| * Enumerable#none? conforms to Ruby 1.8.7 behaviorJeremy Kemper2008-11-192-4/+5
| |
| * Require mocha for tests. Get rid of uses_mocha helper.Jeremy Kemper2008-11-195-189/+167
| |
| * Require mocha before the testcase overrides, otherwise its run method is ↵Jeremy Kemper2008-11-191-18/+6
| | | | | | | | clobbered
| * Eliminate method redefinition warningJeremy Kemper2008-11-191-1/+2
| |