aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* update Active Job default adapter [ci skip]yuuji.yaginuma2016-03-222-5/+9
| | | | Follow up to 625baa69d14881ac49ba2e5c7d9cac4b222d7022
* Merge pull request #24244 from bronson/asset-pipeline-docJon Moss2016-03-181-7/+3
|\ | | | | remove Rails 4 text from asset pipeline guide
| * remove Rails 4 text from asset pipeline guideScott Bronson2016-03-181-7/+3
|/
* Merge pull request #22518 from ↵Arthur Nogueira Neves2016-03-182-1/+18
|\ | | | | | | | | RochesterinNYC/better-error-message-for-includes-relations-missing Improve error message for missing relations for includes and eager_load
| * Improve clarity of error message for missing includes and eager_loadJames Wen2016-01-282-1/+18
| | | | | | | | relations
* | Merge pull request #24223 from mechanicles/reserved-keys-testsEileen M. Uchitelle2016-03-181-6/+7
|\ \ | | | | | | Added more tests for reserved hash keys of ActiveJob::Arguments.
| * | Added more tests for reserved hash keys of ActiveJob::Arguments.Santosh Wadghule2016-03-171-6/+7
| | | | | | | | | | | | | | | | | | - Added tests for checking all reserved hash keys of ActiveJob::Arguments. - Moved unrelated code from the test to the correct place, i.e. newly created test.
* | | Merge pull request #24226 from mabras/masterXavier Noria2016-03-181-0/+0
|\ \ \ | | | | | | | | use rails 5 favicon.ico for rails guides [ci skip]
| * | | use rails 5 favicon.ico for rails guidesMohamad Abras2016-03-171-0/+0
| | | |
* | | | Evented Redis adapter: log reconnect failures as errors, not just infoJeremy Daer2016-03-171-1/+1
|/ / / | | | | | | | | | [ci skip]
* | | Merge pull request #24218 from schneems/schneems/match-loggerRichard Schneeman2016-03-172-10/+26
|\ \ \ | | | | | | | | Document and Match the Rails logger interface
| * | | Document and Match the Rails logger interfaceschneems2016-03-162-10/+26
| |/ / | | | | | | | | | | | | | | | The logger interface to get all Rails features is not obvious. This change adds documentation on how to assign a logger that will use all Rails features. We are also matching the stdout logging interface to the default logger in bootstrap https://github.com/rails/rails/blob/f5a5988352b165143f0f9d622707c351c1470882/railties/lib/rails/application/bootstrap.rb#L42-L45.
* | | Merge pull request #24201 from rails/rake-db-createRafael França2016-03-173-10/+17
|\ \ \ | |/ / |/| | Creates development and test databases in db:migrate task
| * | Creates development and test databases in db:migrate taskRafael Mendonça França2016-03-143-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts a334425caff9b2140d5e99fcfc2eb8c4ab10bdfa. The main reason is that now the workflow is inconsistent when using spring. When using spring `RAILS_ENV` is always set, so only one database is created. This means that in development `bin/rake db:create` and `bundle exec rake db:create` have different results. It also breaks the `bin/setup` script since `bin/rake db:setup db:test:prepare` will fail.
* | | Merge pull request #24215 from shiraikenta/modify-atom-feed-helper-rbJon Moss2016-03-161-1/+1
|\ \ \ | | | | | | | | fix a comment in atom_feed_helper.rb
| * | | fix a comment in atom_feed_helper.rb白井 健太2016-03-161-1/+1
|/ / /
* | | Merge pull request #24205 from delftswa2016/improve-activesupport-dependenciesXavier Noria2016-03-161-3/+6
|\ \ \ | | | | | | | | Improve ActiveSupport::Dependencies code understanding
| * | | Improve code readability in ActiveSupport::DependenciesAaron Ang2016-03-161-5/+6
| | | |
| * | | Add comments to ActiveSupport::Dependencies to help understandingAaron Ang2016-03-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a previous patch, all log-related stuff was removed. However, some logs are still useful to understand the code. Therefore, in this patch, I put those log messages back as comments. [ci skip]
* | | | adds .gitattributes to enable Ruby-awarenessXavier Noria2016-03-161-0/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This configuration improves git diff, git log -p -W, git grep -p, ..., and allows to inspect the history of a method with a command like git log -L:new_constants_in:activesupport/lib/active_support/dependencies.rb Let me also appeal to authority by saying it is present in the Ruby repository as well https://github.com/ruby/ruby/blob/trunk/.gitattributes :)
* | | no need to clear an unusued collectionXavier Noria2016-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the code reaches that line new_constants is no longer needed. We only need here to iterate over it to discard stuff and done. Note that constant_watch_stack.new_constants returns a new reference each time it is invoked, so that #clear call was not cleaning state in some internal structure (which would have been a bit dirty as well at this level of coupling).
* | | removes unreachable codeXavier Noria2016-03-161-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This array literal cannot be reached. The previous begin either returns to the caller via the explicit return in the ensure block if all goes well, or else propagates whatever make the begin block abort execution. I have investigated the origin of this a bit. In the past the ensure block didn't have a return call, see for example c08547d. Later on the return was added in 4da4506, but the trailing literal was left there.
* | | tests the raising/throwing discards the watching stackXavier Noria2016-03-163-4/+8
| | |
* | | s/removes/discards/Xavier Noria2016-03-161-2/+2
| | |
* | | adds coverage for raising while autoloadingXavier Noria2016-03-162-0/+12
| | |
* | | adds coverage for throwing while autoloadingXavier Noria2016-03-152-0/+14
| | | | | | | | | | | | References #24205.
* | | Share dev caching implementation between task and server.Kasper Timm Hansen2016-03-153-25/+46
| | | | | | | | | | | | | | | Lets have the server and the Rake task go through the same ropes, so we can share all the file lookup, adding, and deleting code.
* | | Merge pull request #24204 from sand33pn/masterVipul A M2016-03-151-1/+1
|\ \ \ | | | | | | | | Update action_controller_overview.md
| * | | Update action_controller_overview.mdSandeep Navghane2016-03-151-1/+1
|/ / /
* | | Merge pull request #24198 from delftswa2016/remove-log-related-stuffXavier Noria2016-03-153-51/+0
|\ \ \ | |/ / |/| | Remove log-related stuff from ActiveSupport::Dependencies
| * | Remove log-related stuff from ActiveSupport::DependenciesAaron Ang2016-03-153-51/+0
|/ / | | | | | | | | In this patch, all log-related stuff in `ActiveSupport::Dependencies` is removed because the logging is no longer useful.
* | Merge pull request #24188 from wiehann/railsguide-fixJon Moss2016-03-141-1/+1
|\ \ | | | | | | Correct command for generating secret_key_base [ci skip]
| * | Correct command for generating secret_key_base [ci skip]Wiehann2016-03-141-1/+1
| | |
* | | Merge pull request #24187 from akihiro17/fix-find-docArthur Nogueira Neves2016-03-141-2/+2
|\ \ \ | |/ / |/| | [ci skip] Fix the FinderMethods#find document
| * | [ci skip] Fix the FinderMethods#find documentakihiro172016-03-141-2/+2
|/ / | | | | | | We should use #find_or_initialize_by and #find_or_create_by because #first_or_initialize and #first_or_create methods are not the public API
* | Merge pull request #24184 from y-yagi/add_queue_classic_to_listप्रथमेश Sonpatki2016-03-141-3/+4
|\ \ | | | | | | add `queue_classic` to list of provide `provider_job_id` [ci skip]
| * | add `queue_classic` to list of provide `provider_job_id` [ci skip]yuuji.yaginuma2016-03-141-3/+4
|/ /
* | Merge pull request #24175 from y-yagi/add_headers_to_payloadJon Moss2016-03-121-0/+4
|\ \ | | | | | | add headers to payload list [ci skip]
| * | add headers to payload list [ci skip]yuuji.yaginuma2016-03-131-0/+4
| | | | | | | | | | | | Follow up to #24115.
* | | Merge pull request #24174 from y-yagi/silence_deprecation_messageArthur Nogueira Neves2016-03-121-1/+3
|\ \ \ | | | | | | | | silence deprecation message for dynamic controller and actions on Action View test
| * | | silence deprecation message for dynamic controller and actions on Action ↵yuuji.yaginuma2016-03-131-1/+3
| |/ / | | | | | | | | | | | | | | | View test Follow up to #23980.
* | | Merge pull request #24171 from bdewater/strong_parameters_anaf_docAndrew White2016-03-121-2/+3
|\ \ \ | | | | | | | | Add explanation about accepts_nested_attributes_for keys in the strong parameters docs
| * | | Add explanation about accepts_nested_attributes_for keys in the strong ↵Bart de Water2016-03-121-2/+3
| |/ / | | | | | | | | | parameters documentation [skip ci]
* | | Merge pull request #24166 from kamipo/fix_warning_method_redefinedAndrew White2016-03-121-3/+0
|\ \ \ | |/ / |/| | Fix `warning: method redefined; discarding old female`
| * | Fix `warning: method redefined; discarding old female`Ryuta Kamizono2016-03-121-3/+0
|/ / | | | | | | | | | | | | | | | | | | | | ``` $ ARCONN=mysql2 be ruby -w -Itest test/cases/scoping/default_scoping_test.rb Using mysql2 /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: method redefined; discarding old female /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: previous definition of female was here /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: method redefined; discarding old male /Users/kamipo/src/github.com/rails/rails/activerecord/lib/active_record/scoping/named.rb:158: warning: previous definition of male was here ```
* | Merge pull request #24163 from prathamesh-sonpatki/fix-gemfile-lockRafael França2016-03-121-1/+1
|\ \ | | | | | | Fix Gemfile.lock
| * | Fix Gemfile.lockPrathamesh Sonpatki2016-03-121-1/+1
|/ / | | | | | | | | - Resque version was locked to < 1.26 in 92f869a0c85268 but Gemfile.lock was not updated.
* | Merge pull request #24161 from Sen-Zhang/restore_application_mailerRafael França2016-03-113-0/+16
|\ \ | | | | | | regenerate application_mailer.rb if it is missing
| * | improve some codeSen-Zhang2016-03-111-2/+4
| | |
| * | generate application_mailer.rb if it is missingSen-Zhang2016-03-113-0/+14
|/ /