aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | Merge branch 'sti-subclass-from-attributes' of ↵Yves Senn2015-05-134-6/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://github.com/agrobbin/rails into agrobbin-sti-subclass-from-attributes Conflicts: activerecord/CHANGELOG.md
| * | | | | allow setting of a demodulized class name when using STIAlex Robbin2015-05-114-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If your STI class looks like this: ```ruby class Company < ActiveRecord::Base self.store_full_sti_class = false class GoodCo < Company end class BadCo < Company end end ``` The expectation (which is valid) is that the `type` in the database is saved as `GoodCo` or `BadCo`. However, another expectation should be that setting `type` to `GoodCo` would correctly instantiate the object as a `Company::GoodCo`. That second expectation is what this should fix.
* | | | | | Merge pull request #20136 from mcfiredrill/nodoc-postgresql-add-columnYves Senn2015-05-131-3/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | :nodoc: postgresql add_column
| * | | | | | :nodoc: postgresql add_columnTony Miller2015-05-131-3/+1
|/ / / / / /
* | | | | | Merge pull request #20126 from drcapulet/masterRafael Mendonça França2015-05-133-10/+31
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add full set of MySQL CLI options to support SSL authentication when using db:structure dump and load
| * | | | | | Add full set of MySQL CLI options to support SSL authentication when using ↵Alex Coomans2015-05-123-10/+31
| | |/ / / / | |/| | | | | | | | | | | | | | | | db:structure dump and load
* | | | | | Merge pull request #20131 from vngrs/missing_doc_about_assign_attributeRafael Mendonça França2015-05-121-1/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add more detailed comment about _assign_attribute method [ci skip]
| * | | | | | Add more detailed comment about _assign_attribute method [ci skip]Mehmet Emin İNAÇ2015-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix minor problems
* | | | | | | Merge pull request #20130 from ↵Rafael Mendonça França2015-05-121-21/+33
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | vngrs/refactor_abstract_mysql_adabter_type_to_sql_method Refactor abstract_mysql_adapter type_to_sql method
| * | | | | | Refactor abstract_mysql_adapter type_to_sql methodMehmet Emin İNAÇ2015-05-131-21/+33
|/ / / / / /
* | | | | | Merge pull request #20128 from claudiob/remove-sudoRafael Mendonça França2015-05-127-7/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | | [ci skip] Don’t encourage `sudo gem install`
| * | | | | [ci skip] Don’t encourage `sudo gem install`claudiob2015-05-127-7/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think we are better off leaving `sudo` outside of the documented way of installing gems (`activerecord`, `actionpack`, …). We don’t want newbies to think that `sudo` is required or, even worse, than they actually have to type `[sudo] gem install`. In most scenarios, `sudo` is not needed to install gems, and people who do need it, probably already know about it. What do you think? :grin:
* | | | | Merge pull request #20119 from yui-knk/fix/active_record_queryingYves Senn2015-05-121-1/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | [ci skip] Fix `transaction` code example
| * | | | [ci skip] Fix `transaction` code exampleyui-knk2015-05-121-1/+1
| | | | |
* | | | | Merge pull request #20112 from eagletmt/doc-fixRafael Mendonça França2015-05-111-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Fix default value in guide [ci skip]
| * | | | | Fix default value in guide [ci skip]Kohei Suzuki2015-05-121-1/+1
| | |/ / / | |/| | |
* | | | | Merge pull request #20111 from ankit8898/railtie_test_refacRafael Mendonça França2015-05-112-3/+0
|\ \ \ \ \ | | | | | | | | | | | | removing unused and already required require's
| * | | | | removing unused and already required require'sAnkit Gupta2015-05-112-3/+0
| |/ / / / | | | | | | | | | | | | | | | | | | | | custom test - Does not include EnvHelpers and the require is not needed path generation test - require abstract_unit which has . rails/all requires rails and corresponding
* | | | | remove mysterious file added with #20105 :sparkles:Yves Senn2015-05-111-0/+0
| | | | | | | | | | | | | | | | | | | | /cc @claudiob
* | | | | Merge pull request #20105 from claudiob/rails31-is-outYves Senn2015-05-112-2/+1
|\ \ \ \ \ | |/ / / / |/| | | | [ci skip] Fix comment, since Rails 3.1 is out
| * | | | [ci skip] Fix comment, since Rails 3.1 is outclaudiob2015-05-112-2/+1
|/ / / /
* | | | Merge pull request #20106 from claudiob/finder-rails3Yves Senn2015-05-111-14/+2
|\ \ \ \ | | | | | | | | | | [ci skip] Stop explaining finders for Rails 3
| * | | | [ci skip] Stop explaining finders for Rails 3claudiob2015-05-101-14/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Now that master points at Rails 5, we might not need to explain how things used to work in Rails 3. Or we might… up to you :grin:
* | | | | Merge pull request #20100 from claudiob/don-t-skip-rbx-testCarlos Antonio da Silva2015-05-101-2/+0
|\ \ \ \ \ | | | | | | | | | | | | Stop skipping a test that now works on Rubinius
| * | | | | Stop skipping a test that now works on Rubiniusclaudiob2015-05-101-2/+0
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was skipped because of an issue that, in the meantime, has been fixed: https://github.com/rubinius/rubinius/issues/3328. Using the latest Rubinius (the one currently on Travis CI), this is the result: ```sh $ ruby --version rubinius 2.5.3 (2.1.0 2482b093 2015-05-10 3.5.1 JI) [x86_64-darwin14.3.0] ``` **Before this PR** ```sh $ ruby -Itest test/cases/attribute_assignment_test.rb Run options: --seed 58569 .....S... Finished in 0.048278s, 186.4203 runs/s, 269.2738 assertions/s. 9 runs, 13 assertions, 0 failures, 0 errors, 1 skips You have skipped tests. Run with --verbose for details. ``` **After this PR** $ ruby -Itest test/cases/attribute_assignment_test.rb Run options: --seed 35720 ......... Finished in 0.029441s, 305.6961 runs/s, 475.5273 assertions/s. 9 runs, 14 assertions, 0 failures, 0 errors, 0 skips ```
* | | | | Merge pull request #20101 from imtayadeway/tw/active-record-querying-docsZachary Scott2015-05-101-2/+3
|\ \ \ \ \ | |/ / / / |/| | | | [ci skip] Improve phrasing on #explain pretty printing.
| * | | | [ci skip] Improve phrasing on #explain pretty printing.Tim Wade2015-05-101-2/+3
|/ / / /
* | | | Merge pull request #20099 from yui-knk/fix/comment_association_cacheAbdelkader Boudih2015-05-101-1/+1
|\ \ \ \ | | | | | | | | | | [ci skip] Fix comment of `ActiveRecord::Associations#association_inst…
| * | | | [ci skip] Fix comment of `ActiveRecord::Associations#association_instance_get`yui-knk2015-05-111-1/+1
| |/ / /
* | | | Merge pull request #20097 from ankit8898/refac_test_amSantiago Pastorino2015-05-102-2/+0
|\ \ \ \ | | | | | | | | | | not needed require's
| * | | | not needed require'sAnkit Gupta2015-05-102-2/+0
| |/ / / | | | | | | | | | | | | | | | | - as core_ext is not used and test pass locally - mail is already required in abstract_unit
* | | | Merge pull request #20096 from yui-knk/fix/testing_guideEileen M. Uchitelle2015-05-101-1/+1
|\ \ \ \ | |/ / / |/| | | [ci skip] Fix purpose of `assert_kind_of`
| * | | [ci skip] Fix purpose of `assert_kind_of`yui-knk2015-05-101-1/+1
|/ / /
* | | Merge pull request #20094 from vngrs/refactor_railties_commandsRafael Mendonça França2015-05-104-109/+103
|\ \ \ | | | | | | | | Refactor railties console and dbconsole commands
| * | | Refactor railties console and dbconsole commandsMehmet Emin İNAÇ2015-05-104-109/+103
|/ / / | | | | | | | | | fix minor convention problems
* | | Merge pull request #20087 from kuldeepaggarwal/fix-engine-guidesYves Senn2015-05-091-2/+2
|\ \ \ | | | | | | | | correct error text message in engines.md [ci skip]
| * | | [CI SKIP] correct error text messagekuldeepaggarwal2015-05-091-2/+2
| | | |
* | | | Merge pull request #20086 from farukaydin/before-action-docEileen M. Uchitelle2015-05-091-1/+1
|\ \ \ \ | |/ / / |/| | | promote :except option instead of :only for before action docs [ci skip]
| * | | promote :except option instead of :only for before action docs [ci skip]Faruk AYDIN2015-05-091-1/+1
| | | |
* | | | Move `TemplateAssertions` to their own fileeileencodes2015-05-092-188/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves `TemplateAssertions` out of the `test_case.rb` file and into it's own `template_assertions` file. It still inherits from `ActionController`.` This is in preparation for combining the code for Integration tests and Controller tests. This will need to be it's own file to be added to the `requires` for Integration tests. This does not currently change ANY behavior, just moving it for access later on.
* | | | Merge pull request #20085 from y-yagi/improve_assert_emails_msgYves Senn2015-05-093-1/+17
|\ \ \ \ | |/ / / |/| | | `assert_emails` in block form use the given number as expected value
| * | | `assert_emails` in block form use the given number as expected valueyuuji.yaginuma2015-05-093-1/+17
|/ / /
* | | Merge pull request #20081 from gouravtiwari/patch-3Arun Agrawal2015-05-081-2/+2
|\ \ \ | | | | | | | | minor rdoc syntax fix [ci skip]
| * | | minor rdoc syntax fix [ci skip]Gourav Tiwari2015-05-081-2/+2
|/ / /
* | | Merge pull request #20079 from ankit8898/aj_allArun Agrawal2015-05-081-0/+1
|\ \ \ | | | | | | | | docs: syncing with the code, adding aj [ci skip]
| * | | docs: syncing with the code, adding aj [ci skip]Ankit Gupta2015-05-081-0/+1
| | | |
* | | | Merge pull request #20078 from robertjlooby/fix_generated_features_methods_docsRafael Mendonça França2015-05-081-1/+1
|\ \ \ \ | | | | | | | | | | change GeneratedFeatureMethods to GeneratedAssociationMethods in docs
| * | | | change GeneratedFeatureMethods to GeneratedAssociationMethods in docsRob Looby2015-05-081-1/+1
|/ / / / | | | | | | | | | | | | the module name was changed in 8e814a0ac0768816974d2bfd68d33d931592751e
* | | | Merge pull request #20064 from kddeisz/qu_provider_job_idRafael Mendonça França2015-05-084-9/+16
|\ \ \ \ | | | | | | | | | | Provide provider_job_id to qu adapter.
| * | | | Provide provider_job_id to qu adapter.Kevin Deisz2015-05-074-9/+16
| | | | | | | | | | | | | | | | | | | | Further work to provide provider_job_id for queue adapters.