Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | | | | | | | Setting an association replaces records with the same id in memory | Sean Griffin | 2014-11-25 | 2 | -2/+82 | |
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The records weren't being replaced since equality in Active Record is defined in terms of `id` only. It is reasonable to expect that the references would be replaced in memory, even if no queries are actually executed. This change did not appear to affect any other parts of the code base. I chose not to execute callbacks since we're not actually modifying the association in a way that will be persisted. Fixes #17730 | |||||
* | | | | | | | | | Merge pull request #17767 from javiervidal/fixing_documentation | Rafael Mendonça França | 2014-11-25 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Fixing wrong link in 'Ruby on Rails 3.0 Release Notes' [ci skip] | |||||
| * | | | | | | | | | Fixing wrong link in 'Ruby on Rails 3.0 Release Notes' [ci skip] | Javier Vidal | 2014-11-25 | 1 | -1/+1 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #17754 from eileencodes/refactor-aliased_table_for | Santiago Pastorino | 2014-11-25 | 2 | -13/+4 | |
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | Combine aliased_table_for and aliased_name_for | |||||
| * | | | | | | | | Combine aliased_table_for and aliased_name_for | eileencodes | 2014-11-24 | 2 | -13/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactoring reduces the number of conditionals needed to build `aliased_table_for` and removes `aliased_name_for` because it's no longer necessary. `aliased_name_for` was also used in `JoinDependency#initialize` so that was replaced with `aliased_table_for` as well. | |||||
* | | | | | | | | | Merge pull request #17753 from gsamokovarov/dont-center-routing-table | Santiago Pastorino | 2014-11-25 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Don't center the routes table on routing errors | |||||
| * | | | | | | | | | Don't center the routes table on routing errors | Genadi Samokovarov | 2014-11-24 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | tests, run `test_test.rb` with `RAILS_ENV=test`. | Yves Senn | 2014-11-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The tests to verify our testing setup used `RAILS_ENV=development` to execute the tests. Let's keep it as close to a real-world setup as possible. | |||||
* | | | | | | | | | | Rearrange release notes by importance [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -99/+85 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | :scissors: WIP labels [ci skip] | Godfrey Chan | 2014-11-25 | 2 | -6/+0 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Prepare for RC: un-wip release notes [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -1/+0 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | We shouldn't be linking to edgeapi [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -1/+1 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Prepare for RC: link to the 4-2-stable [ci skip] | Godfrey Chan | 2014-11-25 | 2 | -3/+3 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Cross link to upgrade guide [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -1/+2 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Merge branch 'nil_script_name' | Santiago Pastorino | 2014-11-25 | 2 | -1/+8 | |
|\ \ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | | Add regression test case to ensure script_name as nil is not used anymore in ↵ | Santiago Pastorino | 2014-11-25 | 1 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | url_for | |||||
| * | | | | | | | | | | sets script_name to always be a string. | JONBRWN | 2014-11-25 | 1 | -1/+1 | |
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #17615 #17616 when script_name is nil in the options hash, script_name is set to nil. options = {script_name: nil} script_name = options.delete(:script_name) {‘’} # => nil Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | | | | | | | | | | Final sync with CHANGELOGs [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -2/+7 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | :scissors: TODO | Godfrey Chan | 2014-11-25 | 1 | -4/+3 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | The default hasn't changed, so this is not an incompatibility [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -16/+0 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Simplify section on adequate record [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -14/+14 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Added tests for log_level deprecation | Godfrey Chan | 2014-11-25 | 1 | -13/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #17756 [Godfrey Chan, Zachary Scott] | |||||
* | | | | | | | | | | Set the test_order in the basic app as well, see 58e8b48 | Godfrey Chan | 2014-11-25 | 2 | -0/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the unwanted deprecation warnings in the tests | |||||
* | | | | | | | | | | Set the default log_level to info in all tests | Godfrey Chan | 2014-11-25 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a follow-up to 116de07. That change was for two reasons: 1) speed up the tests by reducing the amount of log lines 2) avoid a deprecation warning from a6de6f5. This setting need to be on the basic app too, otherwise the deprecation warning will show up on other unrelated test cases. | |||||
* | | | | | | | | | | Merge pull request #17763 from kamipo/fix_out_of_range_error_message | Godfrey Chan | 2014-11-25 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Fix out of range error message | |||||
| * | | | | | | | | | | Fix out of range error message | Ryuta Kamizono | 2014-11-25 | 1 | -1/+1 | |
|/ / / / / / / / / / | ||||||
* | | | | | | | | | | Merge pull request #17757 from zzak/railties-default-to-debug-log_level | Godfrey Chan | 2014-11-25 | 1 | -0/+1 | |
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Always default the log_level to :info for Railties | |||||
| * | | | | | | | | | | Always default the log_level to :info for Railties | Zachary Scott | 2014-11-24 | 1 | -0/+1 | |
| |/ / / / / / / / / | ||||||
* | | | | | | | | | | Mention log_level deprecation in upgrade guides [ci skip] | Godfrey Chan | 2014-11-25 | 1 | -0/+12 | |
| | | | | | | | | | | ||||||
* | | | | | | | | | | Merge pull request #17755 from zzak/changelog-for-16622 | Godfrey Chan | 2014-11-25 | 2 | -0/+7 | |
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | | | Add a CHANGELOG entry for #16622 and a6de6f5 [ci skip] | |||||
| * | | | | | | | | | Add Release Note for #16622 [ci skip] | Zachary Scott | 2014-11-24 | 1 | -0/+3 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Add a CHANGELOG entry for #16622 and a6de6f5 [ci skip] | Zachary Scott | 2014-11-24 | 1 | -0/+4 | |
| |/ / / / / / / / | ||||||
* | | | | | | | | | let the AM test suite pass in 1.9 | Xavier Noria | 2014-11-24 | 1 | -2/+2 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge pull request #17760 from zzak/release-not-for-17743 | Sean Griffin | 2014-11-24 | 1 | -0/+13 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Add release note for #17743 [ci skip] | |||||
| * | | | | | | | | | Add release note for #17743 [ci skip] | Zachary Scott | 2014-11-24 | 1 | -0/+13 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #17687 from fabiolnm/master | Rafael Mendonça França | 2014-11-25 | 2 | -20/+52 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refs #17684: Enhances rdoc for ActiveJob assert_performed assertions | |||||
| * | | | | | | | | | Add perform_enqueued_jobs | Fábio Luiz Nery de Miranda | 2014-11-25 | 2 | -20/+52 | |
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It will set proper queue_adapter state required by assert_performed_jobs assertions. Also the block version of assert_performed_jobs will make sure this state is respected. Fixes #17684 | |||||
* | | | | | | | | | Changelog format | Sean Griffin | 2014-11-24 | 1 | -2/+3 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge branch 'deprecate-string-options-in-url-helpers' | Sean Griffin | 2014-11-24 | 3 | -1/+43 | |
|\ \ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | | Deprecate string options in URL helpers | Melanie Gilman | 2014-11-24 | 3 | -1/+43 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes https://github.com/rails/rails/issues/16958 [Byron Bischoff & Melanie Gilman] | |||||
* | | | | | | | | | | Merge pull request #17758 from tgxworld/mailer_generator | Rafael Mendonça França | 2014-11-25 | 6 | -31/+68 | |
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | | | Follow up to #17646. | |||||
| * | | | | | | | | | Update docs to reflect changes to MailerGenerator. | Guo Xiang Tan | 2014-11-25 | 2 | -22/+43 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Add missing CHANGELOG entry. | Guo Xiang Tan | 2014-11-25 | 1 | -0/+7 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Generate mailer layouts even if no action is given. | Guo Xiang Tan | 2014-11-25 | 2 | -4/+6 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | MailerGenerator should inherit from Base. | Guo Xiang Tan | 2014-11-25 | 1 | -3/+4 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Add tests which were incorrectly removed. | Guo Xiang Tan | 2014-11-25 | 3 | -4/+10 | |
|/ / / / / / / / / | ||||||
* | | | | | | | | | Merge pull request #17646 from andyjeffries/html_layout_fix | David Heinemeier Hansson | 2014-11-25 | 8 | -12/+54 | |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Creating mailer layouts by default, including html and body tags | |||||
| * | | | | | | | | | Removing unnecessary File.join calls | Andy Jeffries | 2014-11-24 | 2 | -2/+2 | |
| | | | | | | | | | | ||||||
| * | | | | | | | | | Creates an ApplicationMailer and layout by default, including html and body ↵ | Andy Jeffries | 2014-11-21 | 8 | -12/+54 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tags to reduce spam score | |||||
* | | | | | | | | | | let mailer templates generate URLs by default [Xavier Noria, Richard Schneeman] | Xavier Noria | 2014-11-24 | 7 | -12/+107 | |
| | | | | | | | | | |