aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Don't publicize Kernel core extensionsGenadi Samokovarov2016-02-042-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a reaction to a [bug] we hit in web-console. The cause of it was a `Kernel` extension called `#console` that was public and was fighting over Railties with console block to be run on `rails console`. We solved it by making the method private. We did that through `module_function` so `::Kernel.console` can be invoked even in `BasicObject`. I'm proposing to make most of the core Active Support `Kernel` extensions `module_function` as well. Those are currently public and we are polluting every `Object` public interface with them. ```ruby >> Object.new.respond_to? :silence_warnings => true >> Object.new.respond_to? :with_warnings => true >> Object.new.respond_to? :enable_warnings => true >> Object.new.respond_to? :suppress => true `` Some extensions like `Kernel#class_eval` should be public, but most of them don't really need to be. [bug]: https://github.com/rails/web-console/issues/184
* | | | Merge pull request #23481 from meinac/activemodel_errors_doc_for_behaviourSean Griffin2016-02-041-0/+9
|\ \ \ \ | | | | | | | | | | Add documentation about `ActiveModel::Errors#[]` method to describe how it works [ci skip]
| * | | | Add documentation about method to describe how it works [ci skip]Mehmet Emin İNAÇ2016-02-041-0/+9
| | | | |
* | | | | Merge pull request #23484 from rubys/patch-1Rafael França2016-02-041-7/+7
|\ \ \ \ \ | | | | | | | | | | | | hotlink to the source and results for AWDwR tests
| * | | | | hotlink to the source and results for AWDwR testsSam Ruby2016-02-041-7/+7
|/ / / / /
* | | | | Test with Turbolinks 5Rafael Mendonça França2016-02-042-4/+5
| | | | |
* | | | | Merge pull request #23479 from vipulnsward/23431-remove-jquery-on-sprockets-skipRafael França2016-02-042-2/+3
|\ \ \ \ \ | | | | | | | | | | | | Remove jquery-rails gem from generator if --skip-sprockets is true
| * | | | | - app generate option --skip-sprockets leaves jquery-rails gem, which relies ↵Vipul A M2016-02-042-2/+3
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | on sprockets environment - Remove jquery-rails if --skip-sprockets is true Fixes #23431
* | | | | Merge pull request #23480 from sikachu/redis-commented-outDavid Heinemeier Hansson2016-02-041-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Update assertion on redis in generated Gemfile
| * | | | | Update assertion on redis in generated GemfilePrem Sichanugrist2016-02-041-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Redis now included in Gemfile but commented out. This change was made in 91864439c7aebb6ca710831aac6781903a433904 and is causing the test failure. See https://travis-ci.org/rails/rails/jobs/106994913#L1025
* | | | | Merge pull request #23478 from vipulnsward/23470-pass-api-in-update-generatorRafael França2016-02-041-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Pass api only option to rails rails:update task to update only based on api Apps
| * | | | | Pass api only option to rails rails:update task to update only based on API.Vipul A M2016-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #23470
* | | | | | Turbolinks has moved outDavid Heinemeier Hansson2016-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | All grown up and shit!
* | | | | | Redis is now only needed if you want to use Action Cable in productionDavid Heinemeier Hansson2016-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | So no need to have it on by default in the Gemfile.
* | | | | | Allow for non-standard redis connectorsDavid Heinemeier Hansson2016-02-043-3/+22
| |_|_|/ / |/| | | |
* | | | | rake stats dynamically scales nowAkira Matsuda2016-02-041-9/+21
| | | | | | | | | | | | | | | | | | | | So it can properly show stats for an app with 1,000,000+ LOC
* | | | | Revert "Lines of code can be 100,000+ in a Rails app"Akira Matsuda2016-02-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 293bd95c3e77275193130bc14c986348aae8b0e2. This broke the header :<
* | | | | Typos in AR testsAkira Matsuda2016-02-044-5/+5
| |/ / / |/| | |
* | | | 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.