Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add log_level options to configuration guide | Sammy Larbi | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | reflects changes in 34cd7e2 in the index [ci skip] | Xavier Noria | 2015-01-05 | 1 | -3/+3 |
| | |||||
* | [guides] Added newer find_by syntax example in 4.2 release notes for ↵ | Gordon Chan | 2015-01-05 | 1 | -0/+3 |
| | | | | Adequate Record [skip ci] | ||||
* | Remove debugger support | Rafael Mendonça França | 2015-01-04 | 1 | -1/+0 |
| | | | | | bebugger doesn't work with Ruby 2.2 so we don't need to support it anymore | ||||
* | Merge pull request #18321 from mackshkatz/master | Rafael Mendonça França | 2015-01-04 | 1 | -1/+1 |
|\ | | | | | Add missing information regarding callbacks | ||||
| * | Add missing information regarding callbacks | Max Katz | 2015-01-04 | 1 | -1/+1 |
| | | |||||
* | | Update bug report templates to use version 4.2.0 instead of 5.0.0 [ci skip] | Prathamesh Sonpatki | 2015-01-04 | 2 | -2/+2 |
|/ | | | | | | | | - Right now master is 5.0.0. Latest gem release is 4.2.0 for which we are accepting bug reports. So lets use it in bug report templates. - 5.0.0 is not installable as it's not available on Rubygems yet. So the gem bug templates are not usable without editing the version. Using 4.2.0 will make them usable again. | ||||
* | Merge pull request #17227 from claudiob/explicitly-abort-callbacks | Rafael Mendonça França | 2015-01-03 | 2 | -0/+24 |
|\ | | | | | | | | | | | | | Introduce explicit way of halting callback chains by throwing :abort. Deprecate current implicit behavior of halting callback chains by returning `false` in apps ported to Rails 5.0. Completely remove that behavior in brand new Rails 5.0 apps. Conflicts: railties/CHANGELOG.md | ||||
| * | Add config to halt callback chain on return false | claudiob | 2015-01-02 | 2 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Remove the tmp/sessions folder and its clear task | Robin Dupret | 2015-01-03 | 3 | -15/+13 |
| | | | | | | | | | | | | | | | | | | | | Commit 1aea470 introduced this directory but this was at a time when the default way to store sessions was on the file system under the tmp directory. Let's remove references to it from the documentation as well. [Robin Dupret & yui-knk] | ||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-01-03 | 1 | -1/+0 |
|\ \ | |||||
| * | | [ci skip] :scissors: a blank line from code (Active Job Guide). | Juanito Fatas | 2015-01-02 | 1 | -1/+0 |
| | | | |||||
* | | | Avoid displaying new lines inside note paragraphs | Robin Dupret | 2015-01-03 | 3 | -3/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 65a2977 added a `pre-wrap` style for white spaces on `.note` paragraphs. However, this is first inconsistent as other notes like warnings don't have this style applied. Furthermore, it seems to be unneeded for mobile devices. Also revert changes made in #18147 since they aren't needed anymore. Cross-refs #18138. [ci skip] | ||||
* | | | Consider `html+erb` as a valid language for snippets | Robin Dupret | 2015-01-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | To highlight ERB snippets, both `erb` and `html+erb` are used as a language passed to the code block. However, only the former will be correctly highlighted. | ||||
* | | | Update Redcarpet to version 3.2.2 | Robin Dupret | 2015-01-03 | 1 | -2/+2 |
| |/ |/| | |||||
* | | Deprecate `MissingSourceFile` in favor of `LoadError`. | Rafael Mendonça França | 2015-01-02 | 1 | -3/+3 |
| | | | | | | | | | | `MissingSourceFile` was just an alias to `LoadError` and was not being raised inside the framework. | ||||
* | | Revert part of 996e646bd8cff3bcf2b13863439f48d3e744cdae [ci skip] | Zachary Scott | 2015-01-02 | 2 | -3/+1 |
| | | |||||
* | | Merge pull request #17974 from killthekitten/fix-render-block | Rafael Mendonça França | 2015-01-02 | 1 | -0/+36 |
|\ \ | | | | | | | | | | | | | | | | | | | Make possible to use blocks with short version of render partial Conflicts: actionview/CHANGELOG.md | ||||
| * | | Make possible to use blocks with short version of render partial | Nikolay Shebanov | 2014-12-19 | 1 | -0/+36 |
| | | | |||||
* | | | Remove support to activerecord-deprecated_finders | Rafael Mendonça França | 2015-01-02 | 1 | -2/+0 |
| | | | |||||
* | | | Including links to earlier releases guides (4.1.8 and 4.0.12) [ci skip] | Lucas Caton | 2015-01-02 | 1 | -0/+2 |
| | | | |||||
* | | | Using Rails 5.0 in bug report templates [ci skip] | Lucas Caton | 2015-01-02 | 2 | -2/+2 |
| | | | |||||
* | | | Updating guides for Rails 5.0 [ci skip] | Lucas Caton | 2015-01-02 | 5 | -17/+24 |
| | | | |||||
* | | | fix rake command typo in Testing guide [ci skip] | yuuji.yaginuma | 2014-12-31 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #18274 from rajcybage/spell_fix | Robin Dupret | 2014-12-31 | 1 | -2/+2 |
|\ \ \ | | | | | | | | | Fix spell life cycle on activejob docs [ci skip] | ||||
| * | | | Fix spell life cycle on activejob docs [ ci skip] | Rajarshi Das | 2014-12-31 | 1 | -2/+2 |
| | | | | |||||
* | | | | Update Getting Started guide to reflect foreign key in migration [ci skip] | Jennifer Wollesen | 2014-12-30 | 1 | -0/+3 |
| | | | | |||||
* | | | | Add Profiling guide skeleton [ci skip] | Zachary Scott | 2014-12-30 | 2 | -0/+22 |
| | | | | |||||
* | | | | Move Engines guide under Extending Rails [ci skip] | Zachary Scott | 2014-12-30 | 1 | -5/+5 |
| | | | | |||||
* | | | | The Guide to Testing Rails Applications is published! :tada: :tada: [ci skip] | Zachary Scott | 2014-12-30 | 2 | -5/+9 |
| | | | | |||||
* | | | | Replace exhaustive list of methods with pointer to API docs. [ci skip] | Zachary Scott | 2014-12-30 | 1 | -11/+1 |
| | | | | |||||
* | | | | Add result of running articles_routes_test and point to more information for | Zachary Scott | 2014-12-30 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | RoutingAssertions. [ci skip] | ||||
* | | | | Move request tests after functional and before views, and move helper tests | Zachary Scott | 2014-12-30 | 1 | -50/+50 |
| | | | | | | | | | | | | | | | | after views. [ci skip] | ||||
* | | | | Make "Testing Views" separate section, move "Setup and Teardown" into | Zachary Scott | 2014-12-30 | 1 | -88/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | functional testing section and implement :show, :destroy, and :update tests. [ci skip] | ||||
* | | | | Add implement integration test to Testing Guide. [ci skip] | Zachary Scott | 2014-12-30 | 1 | -0/+75 |
| | | | | |||||
* | | | | Replace exhaustive list of helper methods with pointers to helper classes found | Zachary Scott | 2014-12-30 | 1 | -16/+7 |
| | | | | | | | | | | | | | | | | in the Action Dispatch Integration module. [ci skip] | ||||
* | | | | Remove this line which was added by accident [ci skip] | Zachary Scott | 2014-12-30 | 1 | -2/+0 |
| | | | | |||||
* | | | | Move Rake tasks list to a smaller heading section earlier in the guide. | Zachary Scott | 2014-12-29 | 1 | -21/+21 |
| | | | | | | | | | | | | | | | | | | | | It makes more sense here, rather than after explaining all of the testing facilities of Rails. [ci skip] | ||||
* | | | | Condense notes regarding Minitest and its available assertions removed in: | Zachary Scott | 2014-12-29 | 1 | -38/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 82b75eda70f8c30f7c418e7350532a3a0ed2a8c3 Also explain how Rails inherits capabilities from Minitest. Test classes should be roughly the same based on this information, we can address them at a high level when introducing the first test case. [ci skip] | ||||
* | | | | Remove redundant information about Minitest, which is already covered when | Zachary Scott | 2014-12-29 | 1 | -8/+0 |
| | | | | | | | | | | | | | | | | assertions are introduced. [ci skip] | ||||
* | | | | Move longer form example from integration guide to api reference, below an | Zachary Scott | 2014-12-29 | 1 | -74/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | existing example. [ci skip] My reasoning is that this is probably too much information for the complete Rails testing guide, as we're trying to cover testing all aspects of the framework. | ||||
* | | | | Grammar pass through Integration Testing section [ci skip] | Zachary Scott | 2014-12-29 | 1 | -3/+3 |
| | | | | |||||
* | | | | Remove pre-4.2 comment about missing `assert_select` [ci skip] | Zachary Scott | 2014-12-29 | 1 | -2/+0 |
| | | | | |||||
* | | | | Update link to rails-dom-testing documentation [ci skip] | Zachary Scott | 2014-12-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Pass through `assert_select` testing guide [ci skip] | Zachary Scott | 2014-12-29 | 1 | -4/+9 |
| | | | | |||||
* | | | | Implement testing `flash` notices into our blog app [ci skip] | Zachary Scott | 2014-12-29 | 1 | -3/+62 |
| | | | | |||||
* | | | | Pass through Testing Templates and Layouts section [ci skip] | Zachary Scott | 2014-12-29 | 1 | -11/+13 |
| | | | | |||||
* | | | | These are technically objects [ci skip] | Zachary Scott | 2014-12-29 | 1 | -2/+2 |
| | | | | |||||
* | | | | Rephrase Four Hashes of the Apocalypse [ci skip] | Zachary Scott | 2014-12-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | Compare http request type with test equivalent methods, and application ↵ | Zachary Scott | 2014-12-29 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | use-cases. Briefly explain difference between Functional and Request type tests. [ci skip] |