aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rescue memcached errors in a consistent wayMichael Grosser2015-11-291-26/+19
|
* Using released concurrent-rubyRafael Mendonça França2015-11-162-3/+3
|
* Merge pull request #22215 from grosser/grosser/normalize_keyRafael França2015-11-165-39/+39
|\ | | | | send normalized keys to the cache backends so they do not need to man…
| * keep deprecated namespaced_key in case any subclass uses itMichael Grosser2015-11-103-2/+3
| |
| * send normalized keys to the cache backends so they do not need to manage ↵Michael Grosser2015-11-105-38/+37
| | | | | | | | this themselves
* | Merge pull request #22300 from yui-knk/fix_21893Sean Griffin2015-11-165-5/+23
|\ \ | | | | | | Except keys of `build_record`'s argument from `create_scope` in initi…
| * | Except keys of `build_record`'s argument from `create_scope` in ↵yui-knk2015-11-165-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | initialize_attributes If argument of `build_record` has key and value which is same as default value of database, we should also except the key from `create_scope` in `initialize_attributes`. Because at first `build_record` initialize record object with argument of `build_record`, then assign attributes derived from Association's scope. In this case `record.changed` does not include the key, which value is same as default value of database, so we should add the key to except list. Fix #21893.
* | | Merge pull request #22306 from tylerhunt/patch-1Claudio B2015-11-161-1/+1
|\ \ \ | | | | | | | | Use proper syntax for class method reference in changelog
| * | | Use proper syntax for class method reference.Tyler Hunt2015-11-161-1/+1
|/ / /
* | | Merge pull request #22298 from ↵Kasper Timm Hansen2015-11-165-8/+13
|\ \ \ | | | | | | | | | | | | | | | | yuki24/make-static-index-part-of-public-file-server-config Make the `config.static_index` option part of the `config.public_server` option
| * | | Make the `static_index` config part of the `config.public_server` configYuki Nishijima2015-11-165-8/+13
| | | | | | | | | | | | | | | | Also call it `public_server.index_name` so it'll make more sense.
* | | | Merge pull request #22302 from ↵Yves Senn2015-11-162-4/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | kamipo/remove_not_needed_native_database_types_entries Remove not needed `NATIVE_DATABASE_TYPES` entries
| * | | | Remove not needed `NATIVE_DATABASE_TYPES` entriesRyuta Kamizono2015-11-162-4/+0
| | |/ / | |/| |
* | | | Freeze association foreign keys to reduce allocationsSean Griffin2015-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The string returned here will ultimately get used as a key of a hash in the attribute set once the attributes are being built. When you give a non-frozen string to `Hash#[]`, it will be duped. Be freezing we can significantly reduce the number of times we end up allocating `"user_id"` This does not include any additional tests, as this should not have any public facing implications. If you are mutating the result of `Reflection#foreign_key`, please stop.
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-11-153-8/+30
|\ \ \ \ | |/ / / |/| | |
| * | | copy edits [ci skip]Vijay Dev2015-11-151-12/+6
| | | |
| * | | [ci skip] Use full component name in public API documentyui-knk2015-11-151-1/+1
| | | |
| * | | adding missing `.` Gaurav Sharma2015-11-151-5/+5
| | | |
| * | | rollback changes to changelogGaurish Sharma2015-11-141-4/+0
| | | |
| * | | Grammer & Style Tweaks as per feedbackGaurish Sharma2015-11-142-4/+5
| | | |
| * | | Document time testing helpersGaurish Sharma2015-11-092-0/+31
| | | |
| * | | :nailcare: Grammer fixesGaurish Sharma2015-11-091-2/+2
| | | |
* | | | Merge pull request #22299 from claudiob/fix-doc-ttClaudio B2015-11-151-1/+1
|\ \ \ \ | |_|/ / |/| | | [ci skip] Fix <tt> in doc around +maximum(:updated_at)
| * | | [ci skip] Fix <tt> in docclaudiob2015-11-151-1/+1
|/ / /
* | | Merge pull request #22112 from claudix/masterXavier Noria2015-11-131-0/+21
|\ \ \ | | | | | | | | Added warning on coding engine controllers [ci skip]
| * | | Improved explanationClaudi Martinez2015-11-131-4/+1
| | | |
| * | | Improved explanationClaudi Martinez2015-11-011-10/+16
| | | |
| * | | Fixed typoClaudi Martinez2015-10-291-1/+1
| | | |
| * | | Added warning on coding engine controllersClaudi Martinez2015-10-291-0/+18
| | | |
* | | | Merge pull request #22280 from yui-knk/fix_chagnelog_actionviewRichard Schneeman2015-11-121-1/+1
|\ \ \ \ | | | | | | | | | | [ci skip] Fix CHANGELOG.md format from list to italic.
| * | | | [ci skip] Fix CHANGELOG.md format from list to italic.yui-knk2015-11-131-1/+1
| | | | |
* | | | | Merge pull request #22279 from yui-knk/fix_object_partial_falseRichard Schneeman2015-11-124-1/+10
|\ \ \ \ \ | |/ / / / |/| | | | Respect value of `:object` if `:object` is false when rendering
| * | | | Respect value of `:object` if `:object` is false when renderingyui-knk2015-11-134-1/+10
|/ / / / | | | | | | | | | | | | | | | | This commit fixes the bug convering `false` to `locals[as]` when `options[:object]` is `false` (close #22260).
* | | | Prefer Minitest's location for test failures.Kasper Timm Hansen2015-11-122-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When running tests, the Rails test runner would report the start of the test method as the test failure. For this test: ```ruby 1 require 'test_helper 2 3 class BunnyTest < ActiveSupport::TestCase 4 test "something failing" do 5 assert false, 'This failed' 6 end 7 end ``` The runner outputs 5 instead of 4: ``` ............................................F This failed bin/rails test test/models/bunny_test.rb:5 ........ ```
* | | | Don't match specific line numbers in reporter tests.Kasper Timm Hansen2015-11-121-4/+4
| | | | | | | | | | | | | | | | The overall syntax of the file path is more important, not the exact line it was on.
* | | | Ignore Gemfile.lock in the release taskRafael Mendonça França2015-11-121-1/+1
| | | |
* | | | Merge pull request #22277 from jwworth/pull-request/fix-typo-1447344392Rafael França2015-11-121-1/+1
|\ \ \ \ | | | | | | | | | | Fix typo [ci skip]
| * | | | Fix typo [ci skip]Jake Worth2015-11-121-1/+1
| | | | |
* | | | | Merge pull request #22259 from daisuko/remove_compiled_root_from_static_rbYves Senn2015-11-121-1/+0
|\ \ \ \ \ | |/ / / / |/| | | | remove unnecessary @compiled_root from static.rb
| * | | | remove unnecessary @compiled_root from static.rbdaisuko2015-11-111-1/+0
| | | | |
* | | | | Merge pull request #21601 from yui-knk/fix/ar_tables_without_view2Yves Senn2015-11-1224-98/+208
|\ \ \ \ \ | | | | | | | | | | | | All `AR::ConnectionAdapters#tables` return only tables(exclude views)
| * | | | | Deprecate `#table_exists?`, `#tables` and passing arguments to `#talbes`yui-knk2015-11-0924-98/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reported on #21509, how views is treated by `#tables` are differ by each adapters. To fix this different behavior, after Rails 5.0 is released, deprecate `#tables`. And `#table_exists?` would check both tables and views. To make their behavior consistent with `#tables`, after Rails 5.0 is released, deprecate `#table_exists?`.
* | | | | | Merge pull request #22273 from ↵Kasper Timm Hansen2015-11-121-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | JuanitoFatas/patch/fix-a-warning-in-active-support-test-suite Fix instance variable not defined warning from Active Support test suite
| * | | | | | Fix instance variable not defined warning from Active Support test suiteJuanitoFatas2015-11-121-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before ./Users/Juan/dev/rails/activesupport/test/file_update_checker_shared_tests.rb:20: warning: instance variable @tmpdir not initialized After No warnings
* | | | | | base (refined) Pathname#ascendant_of? also on Pathname#ascendXavier Noria2015-11-121-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A small rewrite in a last attempt at writing obvious and portable code without manual string manipulation. Note that Pathname#== uses string comparison on Windows, so if client code passes "C:\foo" and "c:/foo/bar" the predicate won't see the former is an ascendant of the latter. Risky business.
* | | | | | Merge pull request #22269 from dharamgollapudi/patch-1Xavier Noria2015-11-111-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Use the file watcher defined by the app config
| * | | | | | Use the file watcher defined by the app configDharam Gollapudi2015-11-111-1/+1
|/ / / / / / | | | | | | | | | | | | This can make use of the FileEventedUpdateChecker, if available.
* | | | | | let filter_out_descendants do less passesXavier Noria2015-11-111-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whatever the inner loop selects, we already know is a descendant and can be filtered out right away from dirs_sorted_by_nparts to skip useless iterations.
* | | | | | Merge pull request #22264 from rails/fix-21230Rafael França2015-11-111-1/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Show middleware classes on /rails/info/properties
| * | | | | | Show middleware classes on /rails/info/propertiesclaudiob2015-11-111-1/+5
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #21230 by following the indication of @rafaelfranca: > I think the output change would be simpler. > What is really important to show is the class of the middleware, so we should change the output to show that.