Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | A few more tweaks to get new Base running old render tests again | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -4/+8 | |
| | | ||||||
* | | Renamed Base2 to Base and don't require old action_controller for new Base | Yehuda Katz + Carl Lerche | 2009-05-01 | 4 | -45/+136 | |
| | | ||||||
* | | Starting to get new_base to run on old tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 4 | -0/+95 | |
| | | ||||||
* | | Add support for stripping "layouts/" from the layout name | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -0/+8 | |
| | | ||||||
* | | Modify new_base to use String action_names for back-compat | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -7/+7 | |
| | | ||||||
* | | Ported over the concept of public instance methods on controller child ↵ | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -15/+47 | |
| | | | | | | | | classes as callable action methods | |||||
* | | Move ContentType inline for now. | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -20/+6 | |
| | | | | | | | | Trying to avoid premature proliferation of modules. | |||||
* | | Support implicit and explicit content types | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -0/+16 | |
| | | ||||||
* | | Support implicit render and blank render | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -11/+15 | |
| | | ||||||
* | | Ported over render :template tests | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -7/+1 | |
| | | ||||||
* | | Finished implementing render :text in Base2 | Yehuda Katz + Carl Lerche | 2009-05-01 | 3 | -7/+16 | |
| | | ||||||
* | | Renamed ActionController::AbstractBase to ActionController::Http | Yehuda Katz + Carl Lerche | 2009-05-01 | 2 | -2/+2 | |
| | | ||||||
* | | OMG, a lot of work | Yehuda Katz + Carl Lerche | 2009-05-01 | 7 | -9/+27 | |
|/ | ||||||
* | alias method chain process with test | Joshua Peek | 2009-04-30 | 1 | -3/+6 | |
| | ||||||
* | Move TestRequest#query_parameters into AD TestRequest | Joshua Peek | 2009-04-30 | 1 | -12/+2 | |
| | ||||||
* | Set rack.input instead of RAW_POST_DATA in TestRequest | Joshua Peek | 2009-04-30 | 1 | -28/+11 | |
| | ||||||
* | Missed stray @request_uri | Joshua Peek | 2009-04-30 | 1 | -2/+0 | |
| | ||||||
* | Move TestRequest cookies accessor into AD TestRequest | Joshua Peek | 2009-04-30 | 1 | -2/+0 | |
| | ||||||
* | Merge branch 'master' of git@github.com:rails/rails | Jeremy Kemper | 2009-04-30 | 1 | -1/+2 | |
|\ | ||||||
| * | Fix render :json => nil [#2589 state:resolved] | Jeremy Kemper | 2009-04-30 | 1 | -1/+2 | |
| | | ||||||
* | | Fix action-cached exception responses. | John F. Douthat | 2009-04-30 | 1 | -1/+9 | |
|/ | | | | | | | | Methods raising ActiveRecord::RecordNotFound were returning 404 on first request and 200 OK with blank body on subsequent requests. [#2533 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Start moving TestRequest and TestResponse into ActionDispatch | Joshua Peek | 2009-04-30 | 3 | -165/+19 | |
| | ||||||
* | Vendor new Rack::Mock changes | Joshua Peek | 2009-04-30 | 2 | -2/+2 | |
| | ||||||
* | Group integration test helpers and delegate other helpers to request and ↵ | Joshua Peek | 2009-04-30 | 1 | -147/+126 | |
| | | | | response objects | |||||
* | Switch to action_dispatch rack namespace | Joshua Peek | 2009-04-30 | 1 | -1/+1 | |
| | ||||||
* | Move generic assertions into ActionDispatch | Joshua Peek | 2009-04-30 | 8 | -1114/+2 | |
| | ||||||
* | Test::Unit work arounds are handled by ActiveSupport | Joshua Peek | 2009-04-30 | 1 | -49/+0 | |
| | ||||||
* | Framework backtrace cleaning is handled by ActiveSupport now | Joshua Peek | 2009-04-30 | 6 | -113/+85 | |
| | ||||||
* | Deprecate template, session, assigns, and layout accessors on response ↵ | Joshua Peek | 2009-04-28 | 5 | -13/+18 | |
| | | | | object. Instead access them through the controller instance. This mainly affects functional test assertions. | |||||
* | Move header injection back into integration tests | Joshua Peek | 2009-04-28 | 1 | -1/+6 | |
| | ||||||
* | Fix validate_request method name | Joshua Peek | 2009-04-28 | 1 | -4/+4 | |
| | ||||||
* | Refactor ActionView::Template | Yehuda Katz + Carl Lerche | 2009-04-27 | 3 | -13/+24 | |
| | | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it. | |||||
* | Delegate controller.session to request.session and deprecate response session | Joshua Peek | 2009-04-27 | 2 | -10/+6 | |
| | ||||||
* | Check for to_str rather than String | Jeremy Kemper | 2009-04-26 | 1 | -1/+1 | |
| | ||||||
* | Use session= writer methods | Jeremy Kemper | 2009-04-26 | 1 | -2/+2 | |
| | ||||||
* | Inherit TestSession from Session::AbstractStore and add indifferent access ↵ | Joshua Peek | 2009-04-26 | 2 | -76/+12 | |
| | | | | to Session::AbstractStore. | |||||
* | Require an ActionDispatch::Request to use response assertions | Joshua Peek | 2009-04-26 | 1 | -6/+18 | |
| | ||||||
* | Unify functional and integration tests cookie helpers | Joshua Peek | 2009-04-26 | 1 | -21/+12 | |
| | ||||||
* | Deprecate response.redirect_url_match?, use assert_match instead. | Joshua Peek | 2009-04-26 | 1 | -0/+1 | |
| | ||||||
* | Move useful response test helpers into request | Joshua Peek | 2009-04-26 | 2 | -62/+6 | |
| | ||||||
* | Remove RewindableInput middleware since all input MUST be rewindable ↵ | Joshua Peek | 2009-04-25 | 1 | -1/+0 | |
| | | | | according to a recent change in the Rack 1.0 SPEC | |||||
* | Remove pending rack specifications until they are official | Joshua Peek | 2009-04-25 | 1 | -3/+1 | |
| | ||||||
* | Start to integrate some of the features in Rack::Test. | Joshua Peek | 2009-04-24 | 2 | -178/+26 | |
| | | | | Eventually commit ActionDispatch::Test::MockRequest and ActionDispatch::Test:: UploadedFile upstream. | |||||
* | * Add pluggable JSON backends with support for the JSON gem. [rick] | rick | 2009-04-23 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | Example: ActiveSupport::JSON.backend = "JSONGem" All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality if you really want to use #to_json. gem 'json' ActiveSupport::JSON.backend = "JSONGem" class ActiveRecord::Base alias to_json rails_to_json end | |||||
* | Refactor ActionView::Path | Yehuda Katz + Carl Lerche | 2009-04-22 | 4 | -5/+10 | |
| | | | | | | | | * Decouple from ActionController and ActionMailer * Bring back localization support. * Prepare to decouple templates from the filesystem. * Prepare to decouple localization from ActionView * Fix ActionMailer to take advantage of ActionView::Path | |||||
* | Rack::Utils.body_to_s doesn't exist in 1.0 | Jeremy Kemper | 2009-04-22 | 2 | -2/+16 | |
| | ||||||
* | Reinstate Base#render_to_string. Introduce ↵ | Jeremy Kemper | 2009-04-21 | 2 | -6/+20 | |
| | | | | AbstractController#render_to_string which stringifies render_to_body. | |||||
* | render_for_text pushes a body part instead of replacing the whole body | Jeremy Kemper | 2009-04-17 | 2 | -10/+12 | |
| | ||||||
* | Don't set Content-Length in Base#response_body= since body may be any ↵ | Jeremy Kemper | 2009-04-17 | 1 | -1/+0 | |
| | | | | Rack-compatible body. Leave it up to the content length middleware. | |||||
* | Rename render_to_string to render_to_body since it may return any ↵ | Jeremy Kemper | 2009-04-17 | 4 | -10/+10 | |
| | | | | Rack-compatible body, not just strings |