aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add documentation about method to describe how it works [ci skip]Mehmet Emin İNAÇ2016-02-041-0/+9
|
* Merge pull request #23464 from kamipo/remove_commented_out_code_in_travis_rbSean Griffin2016-02-031-14/+0
|\ | | | | Remove commented out code in `ci/travis.rb` [ci skip]
| * Remove commented out code in `ci/travis.rb` [ci skip]Ryuta Kamizono2016-02-041-14/+0
| |
* | Merge pull request #23460 from ↵Sean Griffin2016-02-031-1/+1
|\ \ | | | | | | | | | | | | kamipo/innodb_supports_fulltext_and_spatial_indexes InnoDB supports FULLTEXT and Spatial Indexes [ci skip]
| * | InnoDB supports FULLTEXT and Spatial Indexes [ci skip]Ryuta Kamizono2016-02-041-1/+1
| |/ | | | | | | | | https://dev.mysql.com/doc/refman/5.7/en/innodb-fulltext-index.html https://dev.mysql.com/doc/refman/5.7/en/creating-spatial-indexes.html
* | Merge pull request #23458 from kamipo/activerecord_supports_mysql_5.0_and_upSean Griffin2016-02-034-14/+10
|\ \ | | | | | | Active Record supports MySQL >= 5.0
| * | Active Record supports MySQL >= 5.0Ryuta Kamizono2016-02-044-14/+10
| | | | | | | | | | | | | | | Currently some features uses `information_schema` (e.g. foreign key support). `information_schema` introduced since MySQL 5.0.
* | | Merge pull request #23452 from phusion/action_cableJon Moss2016-02-031-2/+11
|\ \ \ | | | | | | | | Document the fact that Action Cable does not require a multi-threaded app server
| * | | Document the fact that Action Cable does not require a multi-threaded app serverHongli Lai (Phusion)2016-02-031-2/+11
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #23465 from kamipo/sqlite2_support_has_been_droppedSean Griffin2016-02-033-4/+1
|\ \ \ \ | | | | | | | | | | SQLite 2 support has been dropped [ci skip]
| * | | | SQLite 2 support has been dropped [ci skip]Ryuta Kamizono2016-02-043-4/+1
|/ / / /
* | | | Merge pull request #23459 from mperham/masterArthur Nogueira Neves2016-02-032-2/+0
|\ \ \ \ | | | | | | | | | | Remove unused dependency
| * | | | Remove unused dependencyMike Perham2016-02-032-2/+0
| | |_|/ | |/| | | | | | railties uses method_source, activesupport does not. I assume code was refactored and the dependency wasn't removed.
* | | | Merge pull request #23457 from matthewd/arel-attributeMatthew Draper2016-02-0412-31/+38
|\ \ \ \ | |/ / / |/| | | Defer Arel attribute lookup to the model class
| * | | Extract a Relation#arel_attributeMatthew Draper2016-02-047-16/+20
| | | |
| * | | Defer Arel attribute lookup to the model classMatthew Draper2016-02-0412-31/+34
| | | | | | | | | | | | | | | | | | | | This still isn't as separated as I'd like, but it at least moves most of the burden of alias mapping in one place.
* | | | Merge pull request #23456 from kaspth/line-filter-triggers-one-runnableKasper Timm Hansen2016-02-032-2/+26
|\ \ \ \ | |_|_|/ |/| | | Fix line filters running tests from multiple runnables.
| * | | Fix model test path typo uncovered in previous commit.Kasper Timm Hansen2016-02-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because of the expanding whitelist for test filters, this test ended up running the tests on lines 4 and 9 in the post test even though the path wasn't right. Happened incidentally because the same line numbers were used in both account and post test. Add the .rb line so the file is required correctly and the filters are applied.
| * | | Fix line filters running tests from multiple runnables.Kasper Timm Hansen2016-02-032-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `derive_regexp` was written with the assumption that we were run from a blank slate — that if the filter didn't match we might as well return it because it was nil. This isn't the case because minitest calls `run` on every runnable. Which is any subclass of Minitest::Runnable, such as ActiveSupport::TestCase, ActionDispatch::IntegrationTest as well as any inheriting from those. Thus after the first `run` we'd have put in a composite filter in `options[:filter]` making the next `run` create a linked list when it failed to match the regexp and put the composite filter as the head. Every runnable would accumulate more and more of the same filters, which effectively acted like an expanding whitelist and we ran tests from other runnables. Clog the accumulation by returning nil if there's no filter to derive a regexp from. Note: we pass a seed in the tests because Minitest shuffles the runnables to ensure the whitelist is expanded enough that the failure is triggered.
* | | | Merge pull request #23455 from alexeyzab/add_apple_dummy_icon_filesRafael França2016-02-033-0/+4
|\ \ \ \ | |/ / / |/| | | Add dummy apple icon files
| * | | Add dummy apple icon filesAlexey Zabelin2016-02-033-0/+4
|/ / / | | | | | | | | | | | | | | | | | | | | | Previously Safari would try to load these files when you visit localhost:3000. That created two exceptions in the log. It also caused the exception notifier to send them out. In response to #23427
* | | Merge pull request #23442 from ↵Rafael França2016-02-032-1/+4
|\ \ \ | | | | | | | | | | | | | | | | prathamesh-sonpatki/improve-pg-version-old-error-message Improve pg version old error message and mention this change in release notes.
| * | | Mention PostgreSQL version support in release notes [ci skip]Prathamesh Sonpatki2016-02-031-0/+3
| | | |
| * | | Mention supported PG version in the error message.Prathamesh Sonpatki2016-02-031-1/+1
| | | |
* | | | Merge pull request #23453 from mperham/remove_jsonRafael França2016-02-033-4/+0
|\ \ \ \ | |_|_|/ |/| | | Remove json gem dependency
| * | | Remove json gem dependencyMike Perham2016-02-033-4/+0
|/ / / | | | | | | All modern Rubies ship JSON as part of stdlib. Using the gem actually hurts multi-platform support due to build difficulties on Windows.
* | | Merge pull request #23443 from prathamesh-sonpatki/fix-logging-in-developmentMatthew Draper2016-02-041-0/+2
|\ \ \ | | | | | | | | Put some space for non-assets requests in development mode
| * | | Put some space for non-assets requests in development modePrathamesh Sonpatki2016-02-031-0/+2
| |/ / | | | | | | | | | - Fixes #23428.
* | | Merge pull request #23447 from y-yagi/update_pg_supported_version_in_docsYves Senn2016-02-034-4/+4
|\ \ \ | | | | | | | | update supported version of PostgreSQL in docs [ci skip]
| * | | update supported version of PostgreSQL in docs [ci skip]yuuji.yaginuma2016-02-034-4/+4
| | | | | | | | | | | | | | | | Follow up to #23434
* | | | Typos in AR testsAkira Matsuda2016-02-036-10/+10
| | | |
* | | | Merge pull request #23436 from y-yagi/use_bin_command_in_routes_taskKasper Timm Hansen2016-02-033-17/+17
|\ \ \ \ | | | | | | | | | | use rails command in routes task
| * | | | use rails command in routes taskyuuji.yaginuma2016-02-033-17/+17
| |/ / / | | | | | | | | | | | | | | | | For other task has become to use the rails command at doc and test, I think that routes task also it is better to use the rails command.
* | | | Merge pull request #20997 from himesh-r/issue-20995Arthur Neves2016-02-022-2/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | Changed id-writer to save join table records based on association primary key #20995.
| * | | Changed id-writer to save join table records based on association primary ↵Himesh2016-02-022-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | key #20995 Changed id-writer to save join table records based on association primary key
* | | | Sleep well, sweet princeSean Griffin2016-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | Prototype, you have served us well. But you are no longer how we make an XMLHttpRequest. RIP
* | | | Merge pull request #23437 from ryohashimoto/160203_guide_rails_secretJon Moss2016-02-022-2/+2
|\ \ \ \ | |_|/ / |/| | | Use rails secret command in guides
| * | | use rails secret in rails guidesRyo Hashimoto2016-02-032-2/+2
|/ / /
* | | Merge pull request #23434 from remomueller/bump-minimum-pg-versionRafael França2016-02-022-3/+8
|\ \ \ | | | | | | | | The minimum supported version of PostgreSQL is now >= 9.1
| * | | The minimum supported version of PostgreSQL is now >= 9.1Remo Mueller2016-02-022-3/+8
|/ / /
* | | Merge pull request #23433 from BillyZac/masterArthur Nogueira Neves2016-02-021-2/+2
|\ \ \ | | | | | | | | Fix typo.
| * | | Fix typo.Zachary Smith2016-02-021-2/+2
| | | |
* | | | Merge pull request #23429 from qrush/actioncable-doc-updateEileen M. Uchitelle2016-02-024-40/+53
|\ \ \ \ | |/ / / |/| | | Several ActionCable doc fixes
| * | | [ci skip] Several ActionCable documentation updates:Nick Quaranto2016-02-024-40/+53
|/ / / | | | | | | | | | | | | | | | | | | | | | * Properly indent code sample in ActionCable::Channel::Streams * Add a doc comment for #stop_all_streams * Reformat + add <tt> blocks around code references in ActionCable::Base docs * Clarify and a little better grammar on ActionCable::RemoteConnections * Correct indentation and clean up ActionCable::Server::Broadcasting code sample
* | | Ensure tz aware attributes continue to work with arraysSean Griffin2016-02-021-1/+1
| | | | | | | | | | | | There was a typo in the variable name leading to infinite recursion
* | | Avoid infinite recursion when bad values are passed to tz aware fieldsSean Griffin2016-02-022-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We had previously updated this to attempt to map over whatever was passed in, so that additional types like range and array could benefit from this behavior without the time zone converter having to deal with every known type. However, the default behavior of a type is to just yield the given value to `map`, which means that if we don't actually know how to handle a value, we'll just recurse infinitely. Since both uses of `map` in this case occur in cases where we know receiving the same object will recurse, we can just break on reference equality. Fixes #23241.
* | | Merge pull request #23423 from yui-knk/remove_unnecessary_overrideSean Griffin2016-02-021-12/+0
|\ \ \ | | | | | | | | Remove unnecessary overriding of `#initialize`
| * | | Remove unnecessary overriding of `#initialize`yui-knk2016-02-021-12/+0
| | |/ | |/| | | | | | | | | | | | | `#initialize` of `HasManyReflection`, `HasOneReflection` and `BelongsToReflection` only pass all arguments to `super` by passed order. These overriding can be removed.
* | | Merge pull request #23426 from RyanNielson/patch-1Kasper Timm Hansen2016-02-021-1/+1
|\ \ \ | |/ / |/| | Change command_task.rb to commands_task.rb in docs
| * | Change command_task.rb to commands_task.rb in docsRyan Nielson2016-02-021-1/+1
|/ / | | | | The initialization documentation references `rails/commands/command_task.rb`. This appears to be a typo as the file is actually `rails/commands/commands_task.rb`.