aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/debugging_rails_applications.md
Commit message (Collapse)AuthorAgeFilesLines
* Remove outdated debugging pluginsClivia2019-04-111-7/+0
| | | | Footnote and Query review are outdated, unmaintained, and Query review is for rails 3.
* Add `unknown` method to list of methods to write current log [ci skip]soartec-lab2019-03-211-1/+1
|
* Fix typoNick Coyne2018-11-051-1/+1
| | | Just a small typo fix for the recently merged #34257
* Add guides section on verbose query logs to DebuggingOlivier Lacan2018-10-191-6/+43
| | | | | | | | Since this is a useful tool in debugging it made sense to document its existence and usage, especially in the console where it's disabled by default. [ci skip]
* Rails guides are now served over httpsPaul McMahon2018-07-241-1/+1
| | | | | http links will be redirected to the https version, but still better to just directly link to the https version.
* Added a lot of Oxford commasAnthony Crumley2018-05-101-4/+4
| | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* Update debugging_rails_applications [ci skip]Yauheni Dakuka2017-08-211-4/+4
|
* Update Debugging Rails Applications guide [ci skip]Yoshiyuki Hirano2017-08-201-13/+9
|
* Fix debugging rails application [ci skip]Yoshiyuki Hirano2017-08-141-5/+9
|
* Upgrade various Rails 5.0 references to 5.1Jon Moss2017-03-251-6/+6
| | | | | | | RC1 is out, `5-1-stable` has been created, figured it was time to start updating this stuff :) [ci skip]
* Remove unused `@txn` variableEugene Kenny2017-03-151-1/+0
| | | | | | This was added in c24c885209ac2334dc6f798c394a821ee270bec6, removed in b89ffe7f0047eb614e42232a21201b317b880755, and then (unintentionally?) reintroduced in 2d7ae1b08ee2a10b12cbfeef3a6cc6da55b57df6.
* Add duration constructors for use in Numeric extensionsAndrew White2017-01-121-1/+1
| | | | | The Numeric extensions like 1.day, 1.month, etc. shouldn't know how the internals of ActiveSupport::Duration works.
* Fix inconsistent results when parsing large durations and constructing ↵Andrey Novikov2017-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | durations from code ActiveSupport::Duration.parse('P3Y') == 3.years # It should be true Duration parsing made independent from any moment of time: Fixed length in seconds is assigned to each duration part during parsing. Changed duration of months and years in seconds to more accurate and logical: 1. The value of 365.2425 days in Gregorian year is more accurate as it accounts for every 400th non-leap year. 2. Month's length is bound to year's duration, which makes sensible comparisons like `12.months == 1.year` to be `true` and nonsensical ones like `30.days == 1.month` to be `false`. Calculations on times and dates with durations shouldn't be affected as duration's numeric value isn't used in calculations, only parts are used. Methods on `Numeric` like `2.days` now use these predefined durations to avoid duplicating of duration constants through the codebase and eliminate creation of intermediate durations.
* Add link to 'Pry' in debugging guide [ci skip]bogdanvlviv2016-08-071-0/+1
|
* remove old links from debugging guide [ci skip]yuuji.yaginuma2016-08-011-7/+0
|
* Pass over debugging guideVipul A M2016-04-281-1/+1
| | | | [ci skip]
* Review the `byebug` debugging guideDavid Rodríguez2016-04-281-140/+185
| | | | | | | | * Several formatting fixes. * Updated command outputs to latest version. * Minor rewordings. [ci skip]
* Match Puma 3 startup messages [ci skip]Sam Ruby2016-03-041-3/+4
|
* [ci skip]Add info for specifying logger in different envrionments.Kuldeep Aggarwal2016-02-271-1/+1
| | | | refer 2dc3e81aea8dbc, 56ca2061df83a3
* - Changed Debugging Rails Applications doc's logger introduction section. ↵prajakta2016-02-261-5/+5
| | | | | | Changed location for specifying logger. [Prajakta, thiagoaugusto]
* [ci skip] update guide for Puma web server instead of WebrickGaurav Sharma2016-01-201-5/+5
| | | Rails 5.0 default server puma web server. following commit - https://github.com/rails/rails/commit/ae48ea69
* ApplicationRecord documentation passGenadi Samokovarov2015-12-171-1/+1
| | | | | | | This is a pass over the documentation which fills the missing gaps of `ApplicationRecord`. [ci skip]
* Remove valgrind note about linux only supportJacob Bednarz2015-11-241-2/+2
| | | | | | | | Update the valgrind debugging documentation to remove the notes about being linux only as 3.11.0[1] introduces preliminary support for Mac OSX 10.11 (El Capitan). [1]: http://valgrind.org/docs/manual/dist.news.html
* Fix a tiny typo [ci skip]Robin Dupret2015-08-251-1/+2
|
* Merge pull request #21320 from piton4eg/patch-8Yves Senn2015-08-241-7/+8
|\ | | | | Small fixes [ci skip]
| * Fix docs for debugging [ci skip]:Alexey Markov2015-08-241-7/+8
| | | | | | | | | | | | * fix command list for thread * add omitted end of code * fix description for `continue` and `finish` command
* | [skip ci] Debugging Rails Guide fixesJon Atack2015-08-221-7/+9
|/ | | | | | | | | | | | - Fixes: "we want go deep" -> "we won't go deep" "to next next line" -> "to the next line" - Minor improvements in clarity and grammar. Cheers :)
* Update the Debugging Rails GuideJon Atack2015-08-171-17/+6
| | | | | | | | | | | | | | [skip ci]. - Update to the current output when running `byebug help`. - Remove the alias `exit` because it does not work and seems to have been removed from Byebug, as confirmed by the source code here: https://github.com/deivid-rodriguez/byebug/blob/master/lib/byebug/comman ds/quit.rb - Added the useful `q!` instead to avoid the "Really quit? (y/n)" prompt.
* stop using @_env in the controller instanceAaron Patterson2015-08-071-2/+2
| | | | | | | Actions are processed through `dispatch`, so they should have the request set on them before any user land code can be executed. Lets stop setting _env on the controller, and give access to it through the `env` method.
* [ci skip] Used 'instance_variables' in example for consistency.Santosh Wadghule2015-06-011-2/+5
| | | | | | | | - Found that checking instance_variables elements using string object gives us 'false' value. `instance_variables.include? "@articles" # => false` - Used only 'instance_variables' instead of using '.include?' on it. So that it will return recent instance variables list.
* Spelling/typo/grammatical fixes [ci skip]karanarora2015-05-231-1/+1
| | | | | | | | | | spelling fix [ci skip] example to be consistent [ci skip] grammatical fix typo fixes [ci skip]
* Rails 5.0 will target Ruby 2.2+, correct rails guide example [ci skip]Gaurav Sharma2015-05-201-1/+1
|
* Fix method call typo [ci skip]Zachary Scott2015-05-021-1/+1
|
* Clean up debugging guide and fix minor grammatical errors[ci skip]Thomas Osborn2015-05-011-46/+39
|
* Fix typos and improve the documentationJon Atack2015-04-151-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Tiny documentation edits [ci skip]Robin Dupret2015-03-031-1/+1
|
* Merge pull request #19168 from gsamokovarov/byebug-defaults-guideRobin Dupret2015-03-021-3/+3
|\ | | | | Nit pick the byebug settings guide for default values [ci skip]
| * Nit pick the byebug settings guide for default values [ci skip]Genadi Samokovarov2015-03-021-3/+3
| | | | | | | | | | In #19097 we had a discussion where we decided to change `byebug` settings sections default part to actually say `defaults`.
* | Web Console documentation for the upcoming 2.1 release [ci skip]Genadi Samokovarov2015-03-021-49/+58
|/ | | | | | | | | | | | | | | | | | | With the upcoming 2.1 [web-console release], I have tweaked the existing documentation a bit. I tried to focus on the spawning console use case, because I think a lot of people overlook that. Tried to explain it as best as I can, however, my English and prose aren't my best skills :) If you guys can chime in and help me improve the wording, I would be extremely grateful. There has been some configuration default changes. For example, the whitelisted IPs always include IPv4 and IPv6 localhosts now and this wasn't the case in 2.0. I think a lot of people got bitten by it, that's why I changed it. I'm a bit confused on how to document this. Should I just document the latest version, I don't think I can expect all the people reading the guide to be on it. [web-console release]: https://github.com/rails/web-console/pull/110
* Minor guides edits [ci skip]Robin Dupret2015-02-211-17/+14
|
* Merge pull request #18679 from adipra3n/masterZachary Scott2015-02-161-0/+52
|\ | | | | Add web console in debugging rails applications guide [ci skip]
| * document web console in debugging guide [ci skip]Adi Pradhan2015-01-261-0/+52
| | | | | | | | | | | | document web console in debugging guide [ci skip] document web console in debugging guide [ci skip]
* | Updating Query Tracer github repositoryThiago Pradi2015-02-141-1/+1
| |
* | [ci skip]James T. Perreault2015-02-031-1/+1
|/ | | | improve sentence flow with grammar change
* - Changed `IN` to `ON` in markdown renderer conditionVipul A M2015-01-141-1/+1
| | | | - Changed `IN` to `ON` in all note sentences in guides.
* Updating guides for Rails 5.0 [ci skip]Lucas Caton2015-01-021-6/+6
|
* warn about reading guides in GitHubXavier Noria2014-12-231-0/+2
| | | | References #18148.
* [ci skip] modify the description of production log level defaultyuuji.yaginuma2014-09-211-1/+1
|
* Missing space. [CI SKIP]Guo Xiang Tan2014-08-221-1/+1
|
* Update Rails versions [ci skip]Robin Dupret2014-07-071-6/+6
| | | | | | | | | | | | | As discussed in #15304, we need to automate this process but for now, having out-of-date versions is not ideal. Since master targets 4.2.0, let's also update references to the last 4.1 version to 4.2.0. Finally, let's remove mentions to versions when this is not needed. The guides cover the features of the current version anyway. [Juanito Fatas + Robin Dupret]