aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Autoload ActiveRecord::RecordInvalidRafael Mendonça França2015-06-181-0/+1
| | | | Fixes #20626
* Merge pull request #20549 from maurogeorge/distance_of_time_in_words-rdocZachary Scott2015-06-181-0/+20
|\ | | | | Add RDoc about scope option on distance_of_time_in_words
| * Add RDoc about scope option on distance_of_time_in_wordsMauro George2015-06-181-0/+20
| | | | | | | | [ci skip]
* | Merge pull request #20575 from prathamesh-sonpatki/doc-xml-disallowed-typesZachary Scott2015-06-181-1/+19
|\ \ | | | | | | Added documentation about passing custom disallowed types to Hash#from_xml [ci skip]
| * | Added documentation about passing custom disallowed types to Hash#from_xml ↵Prathamesh Sonpatki2015-06-181-1/+19
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #20618 from vngrs/fix_railties_testsEileen M. Uchitelle2015-06-181-2/+2
|\ \ \ | | | | | | | | fix railties tests
| * | | fix railties testsMehmet Emin İNAÇ2015-06-181-2/+2
|/ / /
* | | Tiny documentation fixes [ci skip]Robin Dupret2015-06-182-10/+12
| | |
* | | Merge pull request #20054 from trosborn/masterRobin Dupret2015-06-181-77/+107
|\ \ \ | | | | | | | | updates caching guide to reflect current Rails capabilities [ci skip]
| * | | updates caching guide to reflect current Rails capabilities [ci skip]Thomas Osborn2015-06-171-77/+107
| | | |
* | | | Merge pull request #20614 from y-yagi/remove_rails_rack_debugger_from_guideZachary Scott2015-06-171-3/+1
|\ \ \ \ | | | | | | | | | | remove `Rails::Rack::Debugger` from guides [ci skip]
| * | | | remove `Rails::Rack::Debugger` from guides [ci skip]yuuji.yaginuma2015-06-181-3/+1
|/ / / / | | | | | | | | | | | | Rails::Rack::Debugger was removed in 93559da4826546d07014f8cfa399b64b4a143127
* | | | Remove ContentLength middleware from the defaults.Aaron Patterson2015-06-172-1/+5
| | | | | | | | | | | | | | | | | | | | ContentLength is not part of the rack SPEC since rack/rack@86ddc7a6ec68d7b6951c2dbd07947c4254e8bc0d If you want it, just add it as a middleware in your config.
* | | | Revert "Merge pull request #20584 from arthurnn/fix_url"Arthur Neves2015-06-173-19/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0b3397872582f2cf1bc6960960a6393f477c55e6, reversing changes made to 56d52e3749180e6c1dcf7166adbad967470aa78b. As pointed out on the PR, this will hide development mistakes too, which is not ideal.
* | | | Merge pull request #20598 from timrogers/update-bundler-version-to-1-10-4Rafael Mendonça França2015-06-171-1/+1
|\ \ \ \ | | | | | | | | | | Update bundler to v1.10.4
| * | | | Update bundler to v1.10.4Tim Rogers2015-06-171-1/+1
| | | | |
* | | | | Merge pull request #20596 from vngrs/use_single_quote_in_gemfileKasper Timm Hansen2015-06-171-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | Use single quote in Railties generators Gemfile [ci skip]
| * | | | Use single quote in Railties generators Gemfile [ci skip]Mehmet Emin İNAÇ2015-06-171-1/+1
| | | | |
* | | | | Bump AMS to 0.10.0.rc2Santiago Pastorino2015-06-161-1/+1
| | | | |
* | | | | Merge pull request #20584 from arthurnn/fix_urlArthur Nogueira Neves2015-06-163-4/+19
|\ \ \ \ \ | | | | | | | | | | | | Catch InvalidURIError on bad paths on redirect.
| * | | | | Catch InvalidURIError on bad paths on redirect.Arthur Neves2015-06-163-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle URI::InvalidURIError errors on the redirect route method, so it wont raise a 500 if a bad path is given.
* | | | | | Merge pull request #20587 from vngrs/fix_descriptions_of_databases_rakeRafael Mendonça França2015-06-161-11/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix descriptions of databases.rake [ci skip]
| * | | | | | Fix descriptions of databases.rake [ci skip]Mehmet Emin İNAÇ2015-06-171-11/+11
| | |/ / / / | |/| | | | | | | | | | | | | | | | revert create and drop task descriptions
* | | | | | Merge pull request #20588 from vngrs/minor_comment_fixArthur Nogueira Neves2015-06-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix the comment about attr_reader of headers [ci skip]
| * | | | | | Fix the comment about attr_reader of headers [ci skip]Mehmet Emin İNAÇ2015-06-161-1/+1
| |/ / / / /
* | | | | | enforce a depth limit on XML documentsAaron Patterson2015-06-163-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XML documents that are too deep can cause an stack overflow, which in turn will cause a potential DoS attack. CVE-2015-3227
* | | | | | Escape HTML entities in JSON keysRafael Mendonça França2015-06-162-0/+11
|/ / / / / | | | | | | | | | | | | | | | Fixes CVE-2015-3226
* | | | | Merge pull request #20578 from dcrec1/regressionSean Griffin2015-06-162-1/+5
|\ \ \ \ \ | |/ / / / |/| | | | raise ActiveModel::MissingAttributeError when trying to access a relationship without the foreign key attribute
| * | | | raise ActiveModel::MissingAttributeError when trying to access a ↵Diego Carrion2015-06-162-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | relationship without the foreign key attribute fixes regression reported on #20253 ActiveRecord::Base#[] was not used cause of 8b95420
* | | | Merge pull request #20572 from arthurnn/db_resetYves Senn2015-06-161-4/+1
|\ \ \ \ | | | | | | | | | | Small refactor on db:reset
| * | | | Small refactor on db:resetArthur Neves2015-06-151-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | db:reset should not prematurely load the environment, so, for instance, if there is any initializer that touches th DB, it will not touch that before droping it. Also this makes the code simpler. This changed was made back in 15fb4302b6ff16e641b6279a3530eb8ed97f2899 , not sure why. But I am pretty much sure we should do it like this, as drop and setup should load its dependencies tasks if necessary.
* | | | | remove `header=` on the response object.Aaron Patterson2015-06-153-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | People should be free to mutate the header object, but not to set a new header object. That header object may be specific to the webserver, and we need to hide it's internals.
* | | | | set the default charset in response initializeAaron Patterson2015-06-151-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | this way we don't have to mutate the instance (as much) when writing a rack response
* | | | | Merge pull request #20407 from vngrs/deprecate_implicit_status_for_head_methodMatthew Draper2015-06-165-12/+47
|\ \ \ \ \ | | | | | | | | | | | | Deprecate passing hash as first parameter into ActionController::Head
| * | | | | Deprecate passing hash as first parameter into ActionController::HeadMehmet Emin İNAÇ2015-06-155-12/+47
| | | | | |
* | | | | | Merge pull request #20108 from akshay-vishnoi/button-tagArthur Nogueira Neves2015-06-152-2/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add missing spec and documentation for button_tag helper
| * | | | | | Add missing spec and documentation for button_tag helperAkshay Vishnoi2015-05-242-2/+22
| | | | | | |
* | | | | | | Merge pull request #20257 from ↵Arthur Nogueira Neves2015-06-151-0/+6
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | prathamesh-sonpatki/test-for-serial-for-quoted-sequence Added test case for serial? method when sequence name is not quoted
| * | | | | | Added test case for serial? method when sequence name is not quotedPrathamesh Sonpatki2015-05-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Followup of https://github.com/rails/rails/pull/20190/.
* | | | | | | Merge pull request #20107 from ankit8898/av_refac_record_tag_helperArthur Nogueira Neves2015-06-151-2/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Removed not needed includes, As record_tag_helper is moved to a gem we..
| * | | | | | | Removed not needed includes, As record_tag_helper is moved to a gem we are notAnkit Gupta2015-05-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testing is completely here now. RenderErbUtils and AM::Conversion are not used
* | | | | | | | Merge pull request #20573 from kaspth/fix-caching-test-for-realskiesMatthew Draper2015-06-161-0/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix flakyness.
| * | | | | | | | Fix flakyness.Kasper Timm Hansen2015-06-151-0/+1
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Brought on by my own stupidity :)
* | | | | | | | i18n guide: warn about default_url_options caching and locale selectors [ci ↵Xavier Noria2015-06-151-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skip]
* | | | | | | | document that default_url_options is cached per request [ci skip]Xavier Noria2015-06-151-1/+3
| | | | | | | |
* | | | | | | | Merge pull request #20564 from repinel/fix-generators-named-base-template-docArthur Nogueira Neves2015-06-151-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | [ci skip] Fix the Rails::Generators::NamedBase#template doc
| * | | | | | | | [ci skip] Fix the Rails::Generators::NamedBase#template docRoque Pinel2015-06-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since #13612, `template` is no longer being used to generate migrations.
* | | | | | | | | Merge pull request #20440 from repinel/fix-message-verifier-encoding-issueMatthew Draper2015-06-162-1/+2
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / |/| | | | | | | | Fix the message verifier encoding issue
| * | | | | | | | Fix the message verifier encoding issueRoque Pinel2015-06-142-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ```ruby verifier = ActiveSupport::MessageVerifier.new('secret') verifier.verify("\xff") # => ArgumentError: invalid byte sequence in UTF-8 ```
* | | | | | | | | Merge pull request #20016 from steved/sdavidovitz/abort_if_pendingArthur Nogueira Neves2015-06-151-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | make sure to load_config for db:abort_if_pending_migrations