aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* Failsafe exception returns text/plain.Steve Klabnik2012-10-013-3/+21
| | | | | | | It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
* Merge pull request #7708 from bdurand/optimize_log_subscribersRafael Mendonça França2012-10-012-8/+16
|\ | | | | Optimize log subscribers to check if the log level is sufficient
| * Optimize log subscribers to check if the log level is sufficient before ↵Brian Durand2012-09-302-8/+16
| | | | | | | | performing an operations.
* | Add the CHANGELOG entry that Guillermo forgot :PSantiago Pastorino2012-10-021-0/+5
| |
* | Merge pull request #7794 from guilleiguaran/extract-rack-cacheSantiago Pastorino2012-10-011-1/+0
|\ \ | | | | | | Use Rack::Cache middleware only if is in Gemfile
| * | Use Rack::Cache middleware only if is in GemfileGuillermo Iguaran2012-10-011-1/+0
| | |
* | | prefix TemplateAssertions ivars (#7459)Yves Senn2012-10-013-23/+29
| | |
* | | resource and resources do no longer modify passed optionsYves Senn2012-10-013-2/+27
| | | | | | | | | | | | this is a patch for #7777.
* | | fix cache store testSteve Klabnik2012-09-301-0/+1
| | | | | | | | | | | | Pull #7800 broke the build, this should fix it.
* | | Add a changelog entry for asset aliasing update in sprockets-rails. Supports ↵Jeremy Kemper2012-09-301-0/+14
| | | | | | | | | | | | referencing foo.js as foo/index.js and vice versa.
* | | Fix changelog entry about sprockets-railsGuillermo Iguaran2012-09-301-3/+2
| | |
* | | Whitespaces :scissors: [ci skip]Rafael Mendonça França2012-09-302-11/+14
| | |
* | | `assert_template` no more passing with what ever string that matches.Hugo Roque2012-09-294-5/+51
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-288-119/+139
|\ \ | | | | | | | | | | | | Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb
| * | update image_tag output in examples to actualNihad Abbasov2012-09-251-4/+4
| | | | | | | | | [ci-skip]
| * | update AC::ConditionalGet documentation [ci skip]Francesco Rodriguez2012-09-221-27/+31
| | |
| * | update AC::Caching documentation [ci skip]Francesco Rodriguez2012-09-225-87/+103
| | |
| * | remove AC::Parameters reference [ci skip]Francesco Rodriguez2012-09-211-1/+1
| | |
| * | fix typos in AC::StrongParameters documentation [ci skip]Francesco Rodriguez2012-09-211-2/+2
| | |
* | | move metal/caching_test into controller/caching_testFrancesco Rodriguez2012-09-272-37/+42
| | |
* | | Fix tests broken by adding a new instance variable to view test casesJeremy Kemper2012-09-271-0/+1
| | |
* | | remove method redefinition warningsRafael Mendonça França2012-09-272-2/+2
| | | | | | | | | | | | | | | actionpack/test/template/spec_type_test.rb:32: warning: method redefined; discarding old test_spec_type_wont_match_non_space_characters actionpack/test/controller/spec_type_test.rb:30: warning: previous definition of test_spec_type_wont_match_non_space_characters was here
* | | Is not needed to wrap name inside an array hereSantiago Pastorino2012-09-271-1/+1
| | |
* | | Change key not found to param not foundSantiago Pastorino2012-09-271-6/+6
| | |
* | | Also includes ConstantLookup dependency for controller and mailer testsAndy Lindeman2012-09-261-0/+1
| | |
* | | Adds missing dependency to ActionView::TestCase::BehaviorAndy Lindeman2012-09-261-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * The module is needed for the `determine_constant_from_test_name` method. * Without it, the including class is required to also include `ActiveSupport::Testing::ConstantLookup` or a `NoMethodError` will be raised upon instantiation of that class. * Issue introduced in c0a24555f9e2749fb94efe1967cb9943db0b6a7e
* | | Merge pull request #7444 from szimek/params_parser_raises_parsing_errorAaron Patterson2012-09-263-7/+18
|\ \ \ | | | | | | | | Raise generic ParseError exception when ParamsParser fails parsing request params
| * | | Make ActionDispatch::ParamsParser::ParseError#original_exception return the ↵Szymon Nowak2012-08-273-6/+14
| | | | | | | | | | | | | | | | original exception.
| * | | Fix ActionDispatch::ParamsParser::ParseError message for XML and JSON parsers.Szymon Nowak2012-08-243-6/+6
| | | |
| * | | Raise generic ParseError exception when ActionDispatch::ParamsParser fails ↵Szymon Nowak2012-08-243-4/+7
| | | | | | | | | | | | | | | | parsing request params.
* | | | fixing most tests on Ruby 2.0Aaron Patterson2012-09-252-3/+3
| | | |
* | | | change ^ and $ anchors in regexp to \A and \z respectivelyNihad Abbasov2012-09-251-1/+1
| | | | | | | | | | | | | | | | http://guides.rubyonrails.org/security.html#regular-expressions
* | | | allow to pass numerical value to size option in image_tagNihad Abbasov2012-09-253-5/+11
| | | | | | | | | | | | | | | | | | | | This will set image's both width and height attributes to value passed in size option.
* | | | Merge pull request #7749 from blowmage/minitestAaron Patterson2012-09-259-8/+397
|\ \ \ \ | | | | | | | | | | Improve support for minitest's spec DSL
| * | | | Register AD::IntegrationTest for minitest's spec DSLMike Moore2012-09-242-0/+44
| | | | |
| * | | | Support helper tests using spec DSLMike Moore2012-09-243-5/+60
| | | | | | | | | | | | | | | | | | | | | | | | | Improve how helper tests to resolve the helper class from the test name. Add tests for helper tests using the minitest spec DSL.
| * | | | Register helper and view tests for minitest's spec DSLMike Moore2012-09-242-0/+42
| | | | |
| * | | | Allow strings in the controller test describe blocksMike Moore2012-09-243-0/+130
| | | | | | | | | | | | | | | | | | | | | | | | | Allow controller tests using the spec DSL to match strings. Add test coverage for the register_spec_type calls.
| * | | | Support controller tests using spec DSL - fixes #7743Mike Moore2012-09-242-3/+121
| | | | | | | | | | | | | | | | | | | | Add tests for controller tests using the minitest spec DSL.
* | | | | Merge pull request #7738 from grosser/verified_requestRafael Mendonça França2012-09-254-8/+24
|\ \ \ \ \ | | | | | | | | | | | | remove unused Mime::Type#verify_request?
| * | | | | depreacte unused Mime::Type#verify_request? and ↵grosser2012-09-244-8/+24
| |/ / / / | | | | | | | | | | | | | | | Mime::Type.browser_generated_types
* | | | | some copy-editing I did in passingXavier Noria2012-09-251-26/+28
| | | | |
* | | | | gives credit to Aaron in the CHANGELOG entry for AC::LiveXavier Noria2012-09-251-2/+4
|/ / / /
* | | | fixes the suite for uploaded filesXavier Noria2012-09-231-6/+6
| | | |
* | | | documents ActionDispatch::Http::UploadedFileXavier Noria2012-09-221-6/+55
| | | |
* | | | Put the new CHANGELOG entries always in the top [ci skip]Rafael Mendonça França2012-09-221-8/+10
| | | |
* | | | Merge pull request #7713 from ↵Xavier Noria2012-09-223-6/+16
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | porras/action-dispatch-upload-delegates-close-to-tempfile Delegate ActionDispatch::Http::UploadedFile#close to tempfile
| * | | Accept parameters in methods delegated to tempfileSergio Gil Pérez de la Manga2012-09-222-6/+8
| | | |
| * | | Update CHANGELOG.mdSergio Gil Pérez de la Manga2012-09-211-0/+2
| | | |
| * | | Delegate ActionDispatch::Http::UploadedFile#close to tempfileSergio Gil Pérez de la Manga2012-09-202-1/+7
| | | |