aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/upgrading_ruby_on_rails.md
Commit message (Collapse)AuthorAgeFilesLines
* Fix doc typoTom Copeland2015-08-071-1/+1
|
* Add info on default layout functionality 3.2 >> 4.0 upgradeStephen Puiszis2015-05-261-0/+2
|
* [ci skip] update ruby doc links; for rails next version ruby 2.2+ will be ↵Gaurav Sharma2015-05-201-1/+1
| | | | supported only
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-05-081-1/+1
|\
| * Replaced Javascript with JavaScript in guidesPrathamesh Sonpatki2015-04-281-1/+1
| |
* | add note about habtm relations with scopesRob Looby2015-05-031-0/+2
| |
* | add upgrade note for breaking habtm change in 3.2 -> 4.0Rob Looby2015-05-011-0/+12
| | | | | | | | | | | | | | | | | | The has_and_belongs_to_many default join_table behavior changed between Rails 3.2 and Rails 4.0 and should be noted in the appropriate section of the upgrade guide. commit: https://github.com/rails/rails/commit/46492949b8c09f99db78b9f7a02d039e7bc6a702
* | Fix typos and improve the documentationJon Atack2015-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a squash of the following commits, from first to last: - Fix minor, random things I’ve come across lately that individually did not seem worth making a PR for, so I saved them for one commit. One common error is using “it’s” (which is an abbreviation of “it is”) when the possessive “its” should be used for indicating possession. - Changes include the name of a test, so remove the `[skip ci]` (thanks @senny). - Line wrap the changes at 80 chars and add one more doc fix. - Add a missing line wrap in the Contributing to Ruby on Rails Guide. - Line wrap the `TIP` section in the Contributing to Ruby on Rails Guide as well. Rendering the guide locally with `bundle exec rake guides:generate` did not show any change in on-screen formatting after adding the line wrap. The HTML generated is (extra line added to illustrate where the line wrap takes place): <div class="info"><p>Please squash your commits into a single commit when appropriate. This simplifies future cherry picks and also keeps the git log clean.</p></div> - Squash commits.
* | Merge pull request #19753 from jonatack/use-ruby-2-2-2Guillermo Iguaran2015-04-131-1/+1
|\ \ | |/ |/| Upgrade to Ruby 2.2.2
| * Upgrade to Ruby 2.2.2Jon Atack2015-04-141-1/+1
| | | | | | | | and fix the grammar in the ruby_version_check.rb user message.
* | Fix a few typos [ci skip]Robin Dupret2015-04-051-5/+7
|/
* Add explicit base class for ActiveJob jobsJeroen van Baarsen2015-03-231-0/+15
| | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Rails 5.0 needs ruby 2.2.1 or higherJeroen van Baarsen2015-03-081-1/+1
| | | | Since there was a bug in 2.2.0, the minimum ruby requirement is 2.2.1. See https://github.com/rails/rails/commit/8ed0b89b [skip ci]
* Merge pull request #18363 from ↵Yves Senn2015-02-111-0/+16
|\ | | | | | | | | | | | | | | andreynering/add-foreign-key-subsection-in-upgrading-guide Adding subsection on 'Upgrading' guide about foreign key support [ci skip]
| * Adding subsection on 'upgrading' guide about 4.2 foreign key support [ci skip]Andrey Nering2015-02-101-0/+14
|/
* Use Module#include instead of send :include, since now is a public method ↵robertomiranda2015-01-311-1/+1
| | | | | | [ci skip] ref https://bugs.ruby-lang.org/issues/8846
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Add config to halt callback chain on return falseclaudiob2015-01-021-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stems from [a comment](rails#17227 (comment)) by @dhh. In summary: * New Rails 5.0 apps will not accept `return false` as a way to halt callback chains, and will not display a deprecation warning. * Existing apps ported to Rails 5.0 will still accept `return false` as a way to halt callback chains, albeit with a deprecation warning. For this purpose, this commit introduces a Rails configuration option: ```ruby config.active_support.halt_callback_chains_on_return_false ``` For new Rails 5.0 apps, this option will be set to `false` by a new initializer `config/initializers/callback_terminator.rb`: ```ruby Rails.application.config.active_support.halt_callback_chains_on_return_false = false ``` For existing apps ported to Rails 5.0, the initializers above will not exist. Even running `rake rails:update` will not create this initializer. Since the default value of `halt_callback_chains_on_return_false` is set to `true`, these apps will still accept `return true` as a way to halt callback chains, displaying a deprecation warning. Developers will be able to switch to the new behavior (and stop the warning) by manually adding the line above to their `config/application.rb`. A gist with the suggested release notes to add to Rails 5.0 after this commit is available at https://gist.github.com/claudiob/614c59409fb7d11f2931
* Updating guides for Rails 5.0 [ci skip]Lucas Caton2015-01-021-2/+6
|
* adjust args of Bundler.require in guides [ci skip]Yosuke2014-12-291-1/+1
| | | | | | Arguments of Bundler.require of generator has been changed from rails4.0.4. https://github.com/rails/rails/blob/v4.0.4/railties/lib/rails/generators/rails/app/templates/config/application.rb#L16
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* Use serve_static_files in guides [skip ci]Arthur Neves2014-12-221-1/+1
|
* Spelling fix [ci skip]George Millo2014-12-181-2/+2
|
* [guides] Fix method name inconsistency in a mailer exampleYuki Nishijima2014-12-121-1/+1
| | | | [ci skip]
* Mention that Action Mailer methods are not deferred [ci skip]Godfrey Chan2014-12-121-0/+35
| | | | | | Closes #17965, #17968 [Godfrey Chan, Miklós Fazekas]
* Revert "Merge pull request #17943 from jeremywadsack/doc_cache_importability"Rafael Mendonça França2014-12-111-4/+0
| | | | | | | | This reverts commit b0e7278ddbe483475d7b2e161e65ae18df91b9f8, reversing changes made to 785d04e3109f69d0b9b9f4732179592f0ef04e52. This is not true. It is a bug and we will fix in the latest 4.0.x release.
* Merge pull request #17942 from yui-knk/fix/upgrading.mdRichard Schneeman2014-12-061-1/+1
|\ | | | | [ci skip] update rails version to 3.2.21
| * [ci skip] update rails version to 3.2.21yui-knk2014-12-061-1/+1
| |
* | Add Guides note to change cache name space as Entry data is incompatible ↵Jeremy Wadsack2014-12-041-0/+4
|/ | | | between 3.2 and 4.0
* Use web_console 2.0 for 4.2.0.rc1 releaseGenadi Samokovarov2014-11-261-1/+1
| | | | | This one replaces the notable web-console mentions in guide and the default Gemfile.
* Remove Web Console /console references in the guidesGenadi Samokovarov2014-11-251-9/+0
|
* :scissors: WIP labels [ci skip]Godfrey Chan2014-11-251-3/+0
|
* Prepare for RC: link to the 4-2-stable [ci skip]Godfrey Chan2014-11-251-1/+1
|
* Mention log_level deprecation in upgrade guides [ci skip]Godfrey Chan2014-11-251-0/+12
|
* Specified beta branch for web-console gemMatthew Cullum2014-11-221-1/+1
|
* Replace "behaviour" with "behavior"Dave Powers2014-11-111-2/+2
| | | Update to consistently use American English [ci skip]
* Replace Html with HTML [ci skip]Prathamesh Sonpatki2014-11-061-2/+2
| | | | - Everywhere else we using HTML Sanitizer except this place.
* Merge pull request #17460 from hbriggs/masterAbdelkader Boudih2014-10-311-4/+7
|\ | | | | Masked authenticity token section, finder options details, misc typos [ci skip]
| * Add masked authenticity token section, details on finder options, misc typos ↵Hannah Briggs2014-10-311-5/+8
| | | | | | | | [ci skip]
* | [ci skip] Fixes typos in section 2.7 "Rails Html Sanitizer", adds content to ↵Hannah Briggs2014-10-291-3/+3
|/ | | | section 2.8 "Rails DOM Testing"
* Clarify wording in Rails HTML Sanitizer sectionDave Powers2014-10-161-1/+1
| | | [ci skip]
* Fix grammarDave Powers2014-10-071-1/+1
|
* Fix typo in upgrading guidePrathamesh Sonpatki2014-09-271-1/+1
| | | | | - [ci skip] - behvaior -> behavior
* rails-html-sanitizer is now the defaultRafael Mendonça França2014-09-251-9/+6
| | | | Also add to upgrading guide a notice about the deprecated sanitizers
* Added Responders docs, made Web Console docs more consistent. [ci skip]Todd Bealmear2014-09-161-4/+40
|
* Fix typoRafael Mendonça França2014-09-101-1/+1
|
* Merge pull request #16839 from chancancode/default_test_orderRafael Mendonça França2014-09-101-0/+18
|\ | | | | | | Default to sorting user's test cases for now
| * Default to sorting user's test cases for nowGodfrey Chan2014-09-081-0/+18
| | | | | | | | | | | | | | | | | | | | | | Goals: 1. Default to :random for newly generated applications 2. Default to :sorted for existing applications with a warning 3. Only show the warning once 4. Only show the warning if the app actually uses AS::TestCase Fixes #16769
* | [ci skip] application.rb -> development.rb in web-console docsyuuji.yaginuma2014-09-101-1/+1
| |
* | :scissors: "now" [ci skip]Godfrey Chan2014-09-081-1/+1
| | | | | | minor fix for #16846