aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove to_s from reflection.type in add_constraintseileencodes2014-08-181-2/+2
| | | | | | | The instance var is already saved as a string in the initialization method of AssociationReflection. See https://github.com/rails/rails/blob/master/activerecord/lib/active_record/reflection.rb#L273
* Point to unreleased deprecated_sanitizerRafael Mendonça França2014-08-181-0/+1
|
* Removed warningRafael Mendonça França2014-08-181-1/+1
|
* Deprecate TagAssertion instead of removingRafael Mendonça França2014-08-182-1/+2
|
* Merge pull request #16548 from arthurnn/fix_warn_messageDavid Heinemeier Hansson2014-08-181-1/+1
|\ | | | | Fix after_commit warning message
| * Fix after_commit warning messageArthur Neves2014-08-181-1/+1
|/
* Merge pull request #16545 from jonatack/patch-9Zachary Scott2014-08-181-1/+1
|\ | | | | Fix broken link to Upgrading Ruby on Rails Guide [ci skip]
| * Fix broken link to Upgrading Ruby on Rails GuideJon Atack2014-08-181-1/+1
| | | | | | | | | | | | in the 4.2 Release Notes [skip ci] Change to link suggested by @zzak [skip ci]
* | Fixes the `Relation#exists?` to work with polymorphic associations.Kassio Borges2014-08-184-1/+22
| | | | | | | | Fixes #15821.
* | Merge pull request #16547 from cristianbica/add-active-job-guide-linksRafael Mendonça França2014-08-181-0/+4
|\ \ | | | | | | Add activejob guide to documents.yml [ci skip]
| * | Add activejob guide to documents.yml [ci skip]Cristian Bica2014-08-181-0/+4
| | |
* | | Merge pull request #16539 from seuros/activejobJeremy Kemper2014-08-182-1/+19
|\ \ \ | |/ / |/| | [ActiveJob] Add queue_name_prefix
| * | [ActiveJob] Add queue_name_prefix so all queue are prefixed .Abdelkader Boudih2014-08-182-1/+19
| | | | | | | | | | | | | | | | | | We can split queues on a per environement basis as well as seggregate per application so we can split queues on a per env basis ActiveJob::Base.queue_name_prefix = 'foo'
* | | Merge pull request #16546 from aditya-kapoor/remove-broken-linkRafael Mendonça França2014-08-181-1/+1
|\ \ \ | |/ / |/| | fix broken link to rails blog [ci skip]
| * | fix broken link [ci skip]Aditya Kapoor2014-08-191-1/+1
| | |
* | | Merge pull request #16537 from arthurnn/stop_swallowing_errors_2Godfrey Chan2014-08-185-11/+138
|\ \ \ | | | | | | | | Add option to stop swallowing errors on callbacks.
| * | | 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
| | | | | | |