Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define the configuration at Active Support | Rafael Mendonça França | 2014-09-11 | 4 | -10/+19 |
| | |||||
* | Set test order in ActiveSupport::TestCase of isolation/abstract_unit | Rafael Mendonça França | 2014-09-10 | 1 | -0/+2 |
| | |||||
* | Set the test order to be random in the generated app | Rafael Mendonça França | 2014-09-10 | 1 | -0/+1 |
| | | | | | | This will avoid the warning in our tests. We delete all the config/environments/ files in the test app so our default code will not work. | ||||
* | Fix typo | Rafael Mendonça França | 2014-09-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #16839 from chancancode/default_test_order | Rafael Mendonça França | 2014-09-10 | 14 | -17/+120 |
|\ | | | | | | | Default to sorting user's test cases for now | ||||
| * | Default to sorting user's test cases for now | Godfrey Chan | 2014-09-08 | 14 | -17/+120 |
| | | | | | | | | | | | | | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769 | ||||
* | | Merge pull request #16541 from cristianbica/activejob-integration-tests | Rafael Mendonça França | 2014-09-10 | 22 | -5/+627 |
|\ \ | | | | | | | ActiveJob Integration Tests | ||||
| * | | ActiveJob Integration Tests | Cristian Bica | 2014-09-11 | 22 | -5/+627 |
| | | | |||||
* | | | Speed up schema dumper tests | Jeremy Kemper | 2014-09-10 | 1 | -11/+9 |
| | | | | | | | | | | | | Dump the standard schema once instead of redoing it per test | ||||
* | | | Include default column limits in schema.rb | Jeremy Kemper | 2014-09-10 | 3 | -8/+23 |
| | | | | | | | | | | | | | | | | | | Allows :limit defaults to be changed without pulling the rug out from under old migrations that omitted :limit because it matched the default at the time. | ||||
* | | | MySQL: schema.rb now includes TEXT and BLOB column limits. | Jeremy Kemper | 2014-09-10 | 3 | -8/+15 |
| | | | |||||
* | | | MySQL: correct LONGTEXT and LONGBLOB limits from 2GB to their true 4GB | Jeremy Kemper | 2014-09-10 | 3 | -4/+8 |
|/ / | |||||
* | | Merge pull request #16379 from JackDanger/update-preloader-documentation | Rafael Mendonça França | 2014-09-10 | 1 | -23/+32 |
|\ \ | | | | | | | Updating Associations::Preloader docs | ||||
| * | | Updating Associations::Preloader docs | Jack Danger Canty | 2014-08-17 | 1 | -23/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Much of the previous documentation introduced features new in 2011. This commit refreshes it to provide clearer code examples and spends more time describing the normal case (preloaded associations) and less time describing the fallback. [ci skip] | ||||
* | | | Merge pull request #16867 from yahonda/use_drop_table_to_drop_sequences | Rafael Mendonça França | 2014-09-10 | 3 | -5/+5 |
|\ \ \ | | | | | | | | | Replace drop sql statement to drop_table method | ||||
| * | | | Replace drop sql statement to drop_table method | Yasuo Honda | 2014-09-11 | 3 | -5/+5 |
|/ / / | | | | | | | | | | to drop sequences at the same time each tables dropped for Oracle | ||||
* | | | i18n guide: clarify interpolation rules in _html keys [ci skip] | Xavier Noria | 2014-09-10 | 1 | -0/+16 |
| | | | |||||
* | | | Merge pull request #16861 from suginoy/fix_typo_people_post | Rafael Mendonça França | 2014-09-10 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | [ci skip]Correct variables in the sample code | ||||
| * | | | [ci skip]Correct variables in the sample code | suginoy | 2014-09-10 | 1 | -2/+2 |
| | | | | |||||
* | | | | Tell the user which file is missing when config/database.yml was not found | Akira Matsuda | 2014-09-10 | 2 | -3/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | Since cc03675d30b58e28f585720dad14e947a57ff5b the error message became like "Could not load database configuration. No such file -" which doesn't really tell what's actually missing. | ||||
* | | | | Merge pull request #16858 from y-yagi/fix_web_console_docs | Guillermo Iguaran | 2014-09-10 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | [ci skip] application.rb -> development.rb in web-console docs | ||||
| * | | | [ci skip] application.rb -> development.rb in web-console docs | yuuji.yaginuma | 2014-09-10 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge pull request #16855 from slavingia/patch-1 | Jeremy Kemper | 2014-09-09 | 1 | -1/+5 |
|\ \ \ | | | | | | | | | Removed any default margin from mail preview body. | ||||
| * | | | Removed any default margin from body. | Sahil Lavingia | 2014-09-09 | 1 | -1/+5 |
|/ / / | |||||
* | | | Oracle does not support `IF EXISTS` for `DROP VIEW`. | Yves Senn | 2014-09-09 | 1 | -2/+2 |
| | | | | | | | | | | | | /cc @yahonda | ||||
* | | | models backed by views don't assume "id" columns are the primary key. | Yves Senn | 2014-09-09 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | Closes #10247. The same goes for tables with an "id" column but without primary key constraint. Reading from the view works without configuration. If you have an updateable view you need to use `self.primary_key = ''`. | ||||
* | | | add test-cases for primary-key-less-views. Closes #16555. | Yves Senn | 2014-09-09 | 1 | -0/+43 |
| | | | |||||
* | | | Merge pull request #14056 from girishso/14041 | Yves Senn | 2014-09-09 | 4 | -4/+7 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | SQLite3Adapter now checks for views in table_exists? fixes: 14041 Conflicts: activerecord/CHANGELOG.md | ||||
| * | | | SQLite3Adapter now checks for views in table_exists? fixes: 14041 | Girish S | 2014-02-14 | 3 | -1/+17 |
| | | | | |||||
* | | | | introduce `connection.supports_views?` and basic view tests. | Yves Senn | 2014-09-09 | 6 | -4/+64 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | `AbstractAdapter#supports_views?` defaults to `false` so we have to turn it on in adapter subclasses. Currently the flag only controls test execution. /cc @yahonda | ||||
* | | | | Merge pull request #16849 from y-yagi/patch-1 | Vijay Dev | 2014-09-09 | 1 | -1/+0 |
|\ \ \ \ | | | | | | | | | | | Remove extra newline from ActiveJob test template | ||||
| * | | | | Remove extra newline from ActiveJob test template | yuuji.yaginuma | 2014-09-09 | 1 | -1/+0 |
| | | | | | |||||
* | | | | | Merge pull request #16850 from aditya-kapoor/correct-line | Vijay Dev | 2014-09-09 | 1 | -3/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | [ci skip] change the line orientation on asset precompile page | ||||
| * | | | | | [ci skip] change the line orientation on asset precompile page | Aditya Kapoor | 2014-09-09 | 1 | -3/+1 |
| |/ / / / | |||||
* / / / / | Allow included modules to override association methods. | Yves Senn | 2014-09-09 | 5 | -2/+23 |
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #16684. This is achieved by always generating `GeneratedAssociationMethods` when `ActiveRecord::Base` is subclassed. When some of the included modules of `ActiveRecord::Base` were reordered this behavior was broken as `Core#initialize_generated_modules` was no longer called. Meaning that the module was generated on first access. | ||||
* | | | | :scissors: "now" [ci skip] | Godfrey Chan | 2014-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | | minor fix for #16846 | ||||
* | | | | Merge pull request #16846 from ↵ | Godfrey Chan | 2014-09-08 | 1 | -1/+16 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | prathamesh-sonpatki/document-error-handling-in-transactions-callbacks Update upgrading guide about error handling in transactional callbacks [ci skip] | ||||
| * | | | | Update upgrading guide about error handling in transactional callbacks | Prathamesh Sonpatki | 2014-09-09 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - Part of 16576 - [ci skip] | ||||
* | | | | | Merge pull request #16848 from prathamesh-sonpatki/kill-extra-has-been | Guillermo Iguaran | 2014-09-09 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Remove extra 'has been' from deprecation warning about asserting selectors | ||||
| * | | | | | Remove extra 'has been' from deprecation warning about asserting selectors | Prathamesh Sonpatki | 2014-09-09 | 1 | -1/+1 |
|/ / / / / | | | | | | | | | | | | | | | | [ci skip] | ||||
* | | | | | Merge pull request #16847 from prathamesh-sonpatki/kill-extra-has-been | Guillermo Iguaran | 2014-09-09 | 1 | -1/+1 |
|\ \ \ \ \ | | | | | | | | | | | | | Remove extra 'has been' from the deprecation message | ||||
| * | | | | | Remove extra 'has been' from the deprecation message | Prathamesh Sonpatki | 2014-09-09 | 1 | -1/+1 |
| |/ / / / | | | | | | | | | | | | | | | | - [ci skip] | ||||
* | | | | | Merge pull request #16845 from todd/upgrade_guide_console_docs | Guillermo Iguaran | 2014-09-08 | 1 | -2/+6 |
|\ \ \ \ \ | |/ / / / |/| | | | | Add docs for web-console to 4.2 Upgrade Guide | ||||
| * | | | | Add docs for web-console to 4.2 Upgrade Guide [ci skip] | Todd Bealmear | 2014-09-08 | 1 | -2/+6 |
|/ / / / | |||||
* | | | | Do not memoize document_root_element in view tests | Rafael Mendonça França | 2014-09-08 | 2 | -2/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Memoizing will not make possible to assert the output of the view if it is changed after the first assert_select call Related with plataformatec/simple_form#1130 and rails/rails-dom-testing#15 | ||||
* | | | | Merge pull request #16827 from kuldeepaggarwal/f-disable-migration-logging | Yves Senn | 2014-09-08 | 1 | -1/+4 |
|\ \ \ \ | |_|_|/ |/| | | | | | | | disable migrations logging while running test cases for AR schema tests | ||||
| * | | | disable migrations logging while running test cases for AR schema tests | Kuldeep Aggarwal | 2014-09-06 | 1 | -0/+2 |
| | | | | |||||
* | | | | Merge pull request #16825 from cristianbica/fix-ar-nested-arrays | Matthew Draper | 2014-09-08 | 4 | -6/+44 |
|\ \ \ \ | | | | | | | | | | | Fix query with nested array in Active Record | ||||
| * | | | | Fix query with nested array in Active Record | Cristian Bica | 2014-09-06 | 4 | -6/+44 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `User.where(id: [[1,2],3])` was equal to `User.where(id:[1, 2, 3])` in Rails 4.1.x but because of some refactoring in Arel this stopped working in 4.2.0. This fixes it in Rails. [Dan Olson & Cristian Bica] | ||||
* | | | | Merge pull request #16834 from tchandy/removing_unused_fake_models | Guillermo Iguaran | 2014-09-07 | 1 | -45/+0 |
|\ \ \ \ | | | | | | | | | | | Removing unused fake models |