aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Add option to stop swallowing errors on callbacks.Arthur Neves2014-08-185-11/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, Active Record will rescue any errors raised within after_rollback/after_create callbacks and print them to the logs. Next versions of rails will not rescue those errors anymore, and just bubble them up, as the other callbacks. This adds a opt-in flag to enable that behaviour, of not rescuing the errors. Example: # For not swallow errors in after_commit/after_rollback config.active_record.errors_in_transactional_callbacks = true [fixes #13460]
* | | | | | Rack is released tooRafael Mendonça França2014-08-181-4/+2
| | | | | |
* | | | | | Bump rack dependencySantiago Pastorino2014-08-181-1/+1
| | | | | |
* | | | | | Fix assertion to map the behaviour of the old sanitizerRafael Mendonça França2014-08-181-1/+1
| | | | | |
* | | | | | No need to point to arel and i18n master anymoreRafael Mendonça França2014-08-181-6/+2
| |_|/ / / |/| | | |
* | | | | Use the released beta of i18nCarlos Antonio da Silva2014-08-182-2/+1
| |/ / / |/| | |
* | | | :nail_care: [ci skip]Godfrey Chan2014-08-181-20/+26
| | | |
* | | | Sync action pack release notes [ci skip]Godfrey Chan2014-08-181-0/+8
| | | |
* | | | Check attributes passed to create_with and whereRafael Mendonça França2014-08-183-2/+45
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the request parameters are passed to create_with and where they can be used to do mass assignment when used in combination with Relation#create. Fixes CVE-2014-3514 Conflicts: activerecord/lib/active_record/relation/query_methods.rb
* | | Sync railties release notes [ci skip]Godfrey Chan2014-08-181-0/+40
| | |
* | | Merge pull request #16528 from ↵Santiago Pastorino2014-08-181-0/+4
|\ \ \ | | | | | | | | | | | | | | | | byroot/add-test-case-for-nested-array-in-where-conditions Add a test case of nested empty array values in conditions
| * | | Add a test case of nested empty array values in conditionsJean Boussier2014-08-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Post.where(id: [[]]).to_a Used to fail with a SQL syntax error (until 4.1): SELECT ... WHERE id in (); It now properly generate: SELECT ... WHERE 1=0;
* | | | "warning: `*' interpreted as argument prefix"Akira Matsuda2014-08-1810-10/+10
| | | |
* | | | Merge pull request #16540 from jonatack/patch-9Eileen M. Uchitelle2014-08-181-1/+1
|\ \ \ \ | | | | | | | | | | Fix rails-html_sanitizer in Gemfile template
| * | | | Fix rails-html_sanitizer in Gemfile templateJon Atack2014-08-181-1/+1
|/ / / / | | | | | | | | [skip ci]
* | | | Expectations firstAkira Matsuda2014-08-187-34/+34
| | | |
* | | | Expectations firstAkira Matsuda2014-08-181-4/+4
| | | |
* | | | Merge pull request #16534 from lucasmazza/lm-fix-rescue-testRafael Mendonça França2014-08-171-0/+1
|\ \ \ \ | | | | | | | | | | Fix ActiveJob isolation tests.
| * | | | Fix ActiveJob isolation tests.Lucas Mazza2014-08-171-0/+1
|/ / / /
* | | | No need to check model_name anymoreRafael Mendonça França2014-08-171-4/+2
| | | |
* | | | Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-1713-24/+28
|\ \ \ \ | | | | | | | | | | | | | | | Use #model_name on instances instead of classes
| * | | | Use #model_name on instances instead of classesAmiel Martin2014-06-2413-24/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows rails code to be more confdent when asking for a model name, instead of having to ask for the class. Rails core discussion here: https://groups.google.com/forum/#!topic/rubyonrails-core/ThSaXw9y1F8
* | | | | Merge pull request #16062 from sgrif/sg-required-generatorsRafael Mendonça França2014-08-176-6/+82
|\ \ \ \ \ | | | | | | | | | | | | Add a `required` option to the model generator
| * | | | | Add a `required` option to the model generatorSean Griffin2014-08-086-6/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Syntax was chosen to follow the passing of multiple options to decimal/numeric types. Curly braces, and allowing any of `,`, `.`, or `-` to be used as a separator to avoid the need for shell quoting. (I'm intending to expand this to all columns, but that's another PR. The `required` option will cause 2 things to change. `required: true` will be added to the association. `null: false` will be added to the column in the migration.
* | | | | | Merge branch 'loofah'Rafael Mendonça França2014-08-1747-4739/+281
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile
| * \ \ \ \ \ Merge branch 'master' into loofahRafael Mendonça França2014-08-17196-1669/+3586
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG.md
| * | | | | | | Use the release gems and point application gemfile to right loofahRafael Mendonça França2014-08-172-5/+5
| | | | | | | |
| * | | | | | | Merge pull request #16525 from kaspth/partial-release-prepRafael Mendonça França2014-08-177-39/+46
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Prepare for partial release.
| | * | | | | | | Prepare for partial release.Kasper Timm Hansen2014-08-177-39/+46
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Default to Rails::DeprecatedSanitizer in ActionView::Helpers::SanitizeHelper. - Add upgrade notes. - Add sanitizer to new applications Gemfiles. - Remove 'rails-dom-testing' as a dependency.
| * | | | | | | Merge branch 'master' into loofahRafael Mendonça França2014-08-12415-3045/+5699
| |\ \ \ \ \ \ \ | | | |_|_|_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/CHANGELOG.md actionpack/test/controller/integration_test.rb actionview/CHANGELOG.md
| * | | | | | | Use the plugin API to the getter and settersRafael Mendonça França2014-07-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid having to redefine these methods on the deprecated plugin we should be using the sanitizer_vendor API.
| * | | | | | | Use regexp instead exact match for atom testRafael Mendonça França2014-07-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two xml namespaces in the response body and the xhtml namespace is not registered in the root node. This create an invalid XML and nokogiri can't navigate using xpath on that node.
| * | | | | | | All these tests are passing nowRafael Mendonça França2014-07-153-7/+0
| | | | | | | |
| * | | | | | | Remove more unneeded includeRafael Mendonça França2014-07-151-3/+0
| | | | | | | |
| * | | | | | | Defining the right dependenciesRafael Mendonça França2014-07-153-1/+5
| | | | | | | |
| * | | | | | | We don't need loofah for the assertionsRafael Mendonça França2014-07-155-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just use nokogiri
| * | | | | | | Include the selector assertions on the test caseRafael Mendonça França2014-07-153-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to require users to include this module on ActionMailer::TestCase
| * | | | | | | Rails is a module not a classRafael Mendonça França2014-07-151-1/+1
| | | | | | | |
| * | | | | | | Merge pull request #11218 from kaspth/loofah-integrationRafael Mendonça França2014-07-1045-4736/+284
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Loofah-integration Conflicts: actionpack/CHANGELOG.md actionview/CHANGELOG.md
| | * | | | | | | Restore delivery method on teardowns.Timm2014-06-161-3/+2
| | | | | | | | |
| | * | | | | | | Inline Assertion reference.Timm2014-06-161-3/+4
| | | | | | | | |
| | * | | | | | | Remove response faking.Timm2014-06-161-15/+1
| | | | | | | | |
| | * | | | | | | Use 1.9 syntax.Timm2014-06-161-6/+6
| | | | | | | | |
| | * | | | | | | Add document_root_element to ActionDispatch::IntegrationTest so ↵Timm2014-06-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assert_select can be called without specifying a root.
| | * | | | | | | Make output_buffers used in tests be utf-8 encoded. Fixing unknown encoding ↵Timm2014-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ASCII-8BIT test errors.
| | * | | | | | | Change date helper tests to expect attributes with double quoted strings.Timm2014-06-161-14/+15
| | | | | | | | |
| | * | | | | | | Fix invalid css selectors in form_collections_helper_test.rb.Timm2014-06-161-11/+11
| | | | | | | | |
| | * | | | | | | Don't splat arguments to allowed tags or attributes.Timm2014-06-161-2/+2
| | | | | | | | |
| | * | | | | | | Change sanitizer_vendor to just be a method and reword documentation.Timm2014-06-161-4/+5
| | | | | | | | |
| | * | | | | | | Revert some stuff to use the new sanitizers.Timm2014-06-161-6/+6
| | | | | | | | |