aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Update HABTM documentation in guidesJames Doyley2016-10-261-3/+1
|
* Merge pull request #26851 from Gaurav2728/update-kindlerbRafael França2016-10-251-1/+1
|\ | | | | update kindlerb gem
| * update kindlerb gemGaurav Sharma2016-10-211-1/+1
| | | | | | Ruby Kindle periodical-format ebook generator
* | Fix HTML escaping in the guidesRafael Mendonça França2016-10-252-2/+2
| | | | | | | | render :html escapes the argument if not provided as html safe.
* | Fix indentationRafael Mendonça França2016-10-251-1/+1
| |
* | Generate HTML not plain textRafael Mendonça França2016-10-251-1/+1
| |
* | Fix plain option in the rails_guides generatorRafael Mendonça França2016-10-251-1/+1
| |
* | Fix typo in Upgrading Ruby on Rails Guide [ci skip]Erol Fornoles2016-10-241-1/+1
| |
* | update description of Etag [ci skip]yuuji.yaginuma2016-10-241-1/+4
| | | | | | | | | | | | The document is written with "only generate weak", but it can also be used to strong etag. Also, add missing entory for #24387
* | Merge release note entry for Date/Time/DateTime extensionsCarlos Antonio da Silva2016-10-231-4/+2
|/ | | | | | The first release note entry mentioned #on_weekday?, but that was only added by the second PR mentioned there. To simplify reading the notes just merge the two, since they are related methods. [ci skip]
* guides, include note about modifiers when using the CLI.Yves Senn2016-10-201-0/+2
| | | | | | | | | | | [ci skip] This was pointed out on https://github.com/rails/rails/issues/15583#issuecomment-239212831 The comment was lost in the changes made by fcd0ac066e0959a9f4fa4459a27e041abe8eb52a and 3e1373a773085d5f19cb6a466ab2736cc1ca2713
* remove trailing whitespace [ci skip]Yves Senn2016-10-201-8/+8
|
* [ci skip] Fix return values of Hash Extensions examplesBruno Facca2016-10-201-4/+4
| | | | | | | | The hashes returned in some examples of the following sections had items in a different order than their receivers. That may mislead readers into believing those methods will not preserve element order. Extensions to Hash/Working with Keys/transform_keys and transform_keys! Extensions to Hash/Working with Keys/stringify_keys and stringify_keys! Extensions to Hash/Working with Keys/symbolize_keys and symbolize_keys! Extensions to Hash/Slicing
* [ci skip] Fix typo in Guides: ContributingAlex Kitchens2016-10-171-1/+1
|
* Pull request for ticket 26769 (#26770)rmarone2016-10-151-1/+1
| | | | | | * Clarify the default behavior of log_formatter Updates language to remove reference to production.rb and fix quoting
* Introduce a benchmark template [ci skip]Godfrey Chan2016-10-152-27/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces boilerplate in the “benchmark your code” section of the contributors’ guide with an executable template. I also amended the text to encourage best practices and codified it in the template. For now this is only good for relatively self-contained changes that can be inlined into a simple script. In the future, this can be expanded to cover how to measure the difference between two commits. The output looks like this: ``` ==================================== Empty ===================================== Warming up -------------------------------------- blank? 225.963k i/100ms fast_blank? 238.147k i/100ms Calculating ------------------------------------- blank? 8.825M (± 6.4%) i/s - 44.063M in 5.014824s fast_blank? 9.311M (± 6.3%) i/s - 46.439M in 5.009153s Comparison: fast_blank?: 9310694.8 i/s blank?: 8824801.7 i/s - same-ish: difference falls within error ================================= Single Space ================================= Warming up -------------------------------------- blank? 56.581k i/100ms fast_blank? 232.774k i/100ms Calculating ------------------------------------- blank? 813.985k (±16.7%) i/s - 4.017M in 5.076576s fast_blank? 9.547M (± 5.2%) i/s - 47.719M in 5.013204s Comparison: fast_blank?: 9547414.0 i/s blank?: 813985.0 i/s - 11.73x slower ================================== Two Spaces ================================== Warming up -------------------------------------- blank? 58.265k i/100ms fast_blank? 244.056k i/100ms Calculating ------------------------------------- blank? 823.343k (±16.2%) i/s - 4.020M in 5.014213s fast_blank? 9.484M (± 4.9%) i/s - 47.347M in 5.005339s Comparison: fast_blank?: 9484021.6 i/s blank?: 823343.1 i/s - 11.52x slower =============================== Mixed Whitspaces =============================== Warming up -------------------------------------- blank? 53.919k i/100ms fast_blank? 237.103k i/100ms Calculating ------------------------------------- blank? 763.435k (±16.8%) i/s - 3.720M in 5.018029s fast_blank? 9.672M (± 5.8%) i/s - 48.369M in 5.019356s Comparison: fast_blank?: 9672467.2 i/s blank?: 763435.4 i/s - 12.67x slower =============================== Very Long String =============================== Warming up -------------------------------------- blank? 34.037k i/100ms fast_blank? 240.366k i/100ms Calculating ------------------------------------- blank? 409.731k (± 8.9%) i/s - 2.042M in 5.028235s fast_blank? 9.794M (± 4.3%) i/s - 49.035M in 5.016328s Comparison: fast_blank?: 9794225.2 i/s blank?: 409731.4 i/s - 23.90x slower ```
* Suggested editsJavier Cuevas2016-10-131-3/+3
|
* Improve Action Cable Overview guideJavier Cuevas2016-10-131-3/+3
| | | The default adapter in development & test environments is not `redis` but `async`.
* Deprecated ActionDispatch::ParamsParser::ParamsParserRafael Mendonça França2016-10-101-17/+17
| | | | | | ActionDispatch::ParamsParser class was removed in favor of ActionDispatch::Http::Parameters so it is better to move the error constant to the new class.
* Change page:change to turbolinks:load in README.md [ci skip]kenta-s2016-10-051-1/+1
|
* Allow the use of listen's 3.1.x branch.Esteban Santana Santana2016-10-031-1/+1
| | | | | | When the initial evented monitor feature was written, the latest version of listen was the 3.0.x series. Since then the listen project has moved on to the 3.1.x series. This patch allows the use of the new versions.
* add `cached` key to `sql.active_record` event [ci skip]yuuji.yaginuma2016-10-021-6/+7
| | | | Follow up to #26584
* Remove dup distinct from AR query list [ci skip]Jeremy Wilmot2016-09-301-1/+0
|
* Fix typo in 5_0_release_notes.md doc [ci skip]Yusuke Nakamura2016-09-291-1/+1
|
* Merge pull request #26648 from y-yagi/update_description_of_queue_adapterJon Moss2016-09-281-2/+2
|\ | | | | update description of queue adapter in test [ci skip]
| * update description of queue adapter in test [ci skip]yuuji.yaginuma2016-09-281-2/+2
| | | | | | | | | | `ActiveJob::TestCase` set `TestAdapter` to queue adapter at `before_setup`. https://github.com/rails/rails/blob/master/activejob/lib/active_job/test_helper.rb#L12..L21
* | Removes broken performance testing link from the 2.2 release notesMichael Lennox2016-09-281-1/+0
|/
* Add info about a502703 to Rails 5 release notesJon Moss2016-09-251-0/+3
| | | | [ci skip]
* Fix docs for allowed params to `get` in controller tests [ci skip]Michael Hoy2016-09-231-4/+4
| | | | | | | | Fixes #26602 Relevant method documentation: https://github.com/rails/rails/blob/abe3da9f12710ea85be69b17172bef41220037fc/actionpack/lib/action_dispatch/testing/integration.rb#L14-L43
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2016-09-201-0/+2
|\
| * :nail_care: [ci skip]Prathamesh Sonpatki2016-09-071-1/+1
| |
| * Document that redirect* don't halt exucution. We explain more on this ↵Vipul A M2016-09-061-0/+2
| | | | | | | | behavior in 2.3.2, but dont specify that is not halting. Its better to not let developers be caught by surprise. [ci skip]
* | [ci skip] Fixed commas according to Oxford comma in rdoc and guidesAndrey Molchanov2016-09-173-3/+3
| |
* | Fix small grammar issue introduced in #26382Jon Moss2016-09-161-1/+2
| | | | | | | | [ci skip]
* | bug report template for migrations (#26488)Girish Sonawane2016-09-153-0/+130
| | | | | | * added bug report template for migrations
* | fixed guide to add correct documentation for partial render 'as' optionGirish S2016-09-131-7/+7
| |
* | [ci skip] Update Levenshtein code with better attribution.Kasper Timm Hansen2016-09-121-1/+3
| | | | | | | | Lacks some proper creds to the homies who went the... distance ;)
* | Merge pull request #26431 from wytesk133/masterप्रथमेश Sonpatki2016-09-081-1/+1
|\ \ | | | | | | Fix table name typos [ci skip]
| * | Fix table name typos [ci skip]Waitaya Krongapiradee2016-09-081-1/+1
| | |
* | | update doc about default `cache_store` [ci skip]yuuji.yaginuma2016-09-081-1/+1
| | | | | | | | | | | | The default `cache_store` has changed in 8f0e0b6 to use `file_store`.
* | | Merge pull request #26390 from Neodelf/format_mdsVipul A M2016-09-074-8/+8
|\ \ \ | | | | | | | | [ci skip] Simply formatting documents
| * | | [ci skip] Simply formatting documentsNeodelf2016-09-064-8/+8
| | | |
* | | | Merge pull request #24612 from vipulnsward/fix-li-ol-widthVijay Dev2016-09-061-1/+2
|\ \ \ \ | |_|_|/ |/| | | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl as needed
| * | | Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl needed for ↵Vipul A M2016-04-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chapters column, instead of leaking to other lists. Before: https://monosnap.com/file/CNIMXcqv3HuRrObTNYWYFis8I3G8PT After: https://monosnap.com/file/0IyEKEy9hcRCIx82etR8ikinCo3vNb Chapters column remains as is: http://take.ms/M0BkF
* | | | Remove the word "mongrel" from documentsRyunosuke Sato2016-09-074-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently mongrel is not maintained. And it couldn't be built with any Ruby versions that supported by Rails. It is reasonable to remove the word "mongrel" in order to avoid confusion from newcomer.
* | | | Minor grammar fix in engines.mdMark Sun2016-09-061-1/+1
| |/ / |/| |
* | | Update docs for change in transaction callback exceptionsNathan Wenneker2016-09-032-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 07d3d40 changed how exceptions are handled in after_commit and after_destroy callbacks. This commit updates the 5.0 release notes and the ActiveRecord callback guide to reflect the new behavior. [ci skip]
* | | add Active Job bug report templates to guide [ci skip]yuuji.yaginuma2016-09-031-0/+1
| | | | | | | | | | | | Follow up to #26362
* | | Merge pull request #26364 from ↵Kasper Timm Hansen2016-09-022-4/+4
|\ \ \ | | | | | | | | | | | | | | | | y-yagi/fix_class_name_typo_in_bug_report_templates fix class name typo in bug report templates for Active Job
| * | | fix class name typoyuuji.yaginuma2016-09-022-4/+4
| | | |