aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #4497 from carlosantoniodasilva/action-controller-refactorJosé Valim2012-01-1734-232/+68
|\ | | | | Action controller refactor - remove Compatibility module
| * Update changelogCarlos Antonio da Silva2012-01-171-1/+16
| |
| * Bring back rendering templates that start with / in nested structuresCarlos Antonio da Silva2012-01-172-0/+23
| |
| * Move protected instance variables definition, kill compatibility moduleCarlos Antonio da Silva2012-01-172-15/+5
| |
| * Remove deprecated default_charset= from AC::BaseCarlos Antonio da Silva2012-01-173-9/+6
| | | | | | | | | | This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
| * Move render_to_body logic to return a spaced string to AC::RenderingCarlos Antonio da Silva2012-01-175-9/+5
| | | | | | | | | | | | | | | | | | | | | | This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this.
| * Remove method missing handling when action is not found, use action missing ↵Carlos Antonio da Silva2012-01-172-53/+0
| | | | | | | | | | | | | | instead Do not create a method_missing method to handle not found actions, use the action_missing method provided by Rails instead.
| * Refactor render nothing/text => nil logic, and move to right placeCarlos Antonio da Silva2012-01-172-3/+4
| | | | | | | | | | Options :nothing and :text => nil should be handled by ActionController::Rendering instead.
| * Move render :nothing and :text => nil options to AC::RenderingCarlos Antonio da Silva2012-01-172-10/+3
| |
| * Rename test class and fix tests to keep consistencyCarlos Antonio da Silva2012-01-171-10/+10
| | | | | | | | Based on 50d23bc2bd3653b3c66e480c22ae97c5f7fd7f62.
| * Remove deprecated logic to render templates starting with /Carlos Antonio da Silva2012-01-172-23/+0
| | | | | | | | render :template => "/foo/bar"
| * Remove relative url root setting from ENV varCarlos Antonio da Silva2012-01-171-4/+0
| | | | | | | | This is already being set by Rails configuration.
| * Remove rescue_action from compatibility module and testsCarlos Antonio da Silva2012-01-1723-87/+7
| |
| * Remove other old compatibility constantsCarlos Antonio da Silva2012-01-176-15/+12
| |
| * Remove constant already defined in exceptions moduleCarlos Antonio da Silva2012-01-171-3/+0
| |
| * Remove old compatibility methods not being usedCarlos Antonio da Silva2012-01-174-15/+2
| |
* | Merge pull request #4500 from kennyj/should_deprecate_rails_cacheAaron Patterson2012-01-172-4/+3
|\ \ | | | | | | [Proposal] We should deprecate the RAILS_CACHE constant.
| * | Deprecate RAILS_CACHE constant.kennyj2012-01-182-4/+3
| |/
* / Add option to configure Sprockets loggerRafael Mendonça França2012-01-171-1/+1
|/
* Merge pull request #4462 from spohlenz/fix-routing-testsAaron Patterson2012-01-161-0/+4
|\ | | | | Stub ip method of alternative request class in router tests
| * Stub ip method of alternative request classSam Pohlenz2012-01-141-0/+4
| |
* | use Rack::BodyProxy in AD::ReloaderSergey Nartimov2012-01-162-33/+3
| |
* | Merge pull request #4467 from castlerock/changelog_for_deprecatedVijay Dev2012-01-151-0/+17
|\ \ | | | | | | changelog entry for deprecated ActionController::Integration, ActionCont...
| * | changelog entry for deprecated ActionController::Integration, ↵Vishnu Atrai2012-01-151-0/+17
| | | | | | | | | | | | ActionController::IntegrationTest, ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse others
* | | Bump Sprockets to 2.2.0Guillermo Iguaran2012-01-141-1/+1
|/ /
* | Deprecate ActionController::Integration, ActionController::IntegrationTest, ↵Vishnu Atrai2012-01-153-1/+10
| | | | | | | | ActionController::PerformanceTest,ActionController::AbstractRequest, ActionController::Request, ActionController::AbstractResponse, ActionController::Response and ActionController::Routing
* | refactor response_body= methodVasiliy Ermolovich2012-01-141-7/+1
| | | | | | | | response_to?(:each) returns false for strings in ruby 1.9, so there is no need for these checks
* | Add begin/ensure block since we are returning.José Valim2012-01-141-3/+5
|/
* Use a BodyProxy instead of including a Module that responds to close.Santiago Pastorino2012-01-134-15/+47
| | | | Closes #4441 if Active Record is disabled assets are delivered correctly
* removed unnecessary test_pass test from form_tag_helper_test.rbKarunakar (Ruby)2012-01-131-4/+0
|
* remove unused private methodsSergey Nartimov2012-01-131-16/+0
|
* use Rack::Utils.escape_pathSergey Nartimov2012-01-131-1/+1
|
* Merge pull request #4434 from carlosantoniodasilva/action-view-refactorJosé Valim2012-01-134-34/+41
|\ | | | | Action view refactor
| * Refactor url_for helper to check for nil in the case statement onlyCarlos Antonio da Silva2012-01-121-8/+8
| |
| * Delegate data tag option to tag option for escapingCarlos Antonio da Silva2012-01-121-5/+6
| |
| * Remove value argument from boolean optionCarlos Antonio da Silva2012-01-121-2/+2
| |
| * Return faster when no option is givenCarlos Antonio da Silva2012-01-121-12/+11
| |
| * Refactor and improve readabilityCarlos Antonio da Silva2012-01-121-8/+7
| |
| * Split tag options helper in smaller methodsCarlos Antonio da Silva2012-01-121-9/+21
| |
| * Remove deprecated and not used methodCarlos Antonio da Silva2012-01-121-6/+0
| |
| * Extract asset paths uri regexp to a constantCarlos Antonio da Silva2012-01-121-1/+3
| | | | | | | | Avoid compiling the regexp all the time.
* | Do not check if record is an Array twiceRafael Mendonça França2012-01-121-4/+3
|/
* Merge pull request #4429 from marcinbunsch/1923-force-ssl-redirect-keep-flashJosé Valim2012-01-122-1/+38
|\ | | | | When force redirecting to SSL, make sure that the session is kept
| * When force redirecting to SSL, make sure that the session is kept. As we're ↵Marcin Bunsch and Przemek Dąbek2012-01-122-1/+38
| | | | | | | | moving from a non-secure to secure environment, it's safe
* | depend on journey 1.0.0Aaron Patterson2012-01-121-1/+1
| |
* | Merge pull request #4387 from Karunakar/releasenotesVijay Dev2012-01-121-3/+3
|\ \ | | | | | | Added the release dates for rails 3.1.1, rails 3.1.2, rails 3.1.3
| * | Added the release dates for rails 3.1.1, rails 3.1.2, rails 3.1.3Karunakar (Ruby)2012-01-081-3/+3
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-131-2/+2
|\ \ \
| * | | Changed 'proc' to 'Proc.new' in ActionController::Caching::Actions descriptionAlejandro Andrés2012-01-121-2/+2
| | | |
* | | | Merge pull request #4427 from kennyj/fix_3980José Valim2012-01-121-3/+9
|\ \ \ \ | | | | | | | | | | Fix GH #3980. Support assets:cache:clean task.