aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Fix 'Getting Started with Rails' [ci skip]bogdanvlviv2016-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `bin/rails generate controller Comments` creates files app/assets/javascripts/comments.coffee app/assets/stylesheets/comments.scss not app/assets/javascripts/comment.coffee app/assets/stylesheets/comment.scss
* | | | Add missing spaces [ci skip]bogdanvlviv2016-11-071-2/+2
|/ / /
* | | Use local variable instead of instance variable [ci skip]Daniel Amireh2016-11-051-1/+1
| | | | | | | | | Update render yield docs to use `search` local variable instead of `@q` instance variable
* | | fix typo in Rails Test Runner sectioncolleenmcguckin2016-10-311-2/+2
| | |
* | | Remove `Rack::Runtime from console log [ci skip]Shia2016-10-311-1/+0
| | |
* | | Add missing space in Migrations guide [ci skip]Benny2016-10-311-1/+1
| | |
* | | update doc about assets digest class [ci skip]yuuji.yaginuma2016-10-301-2/+2
| | | | | | | | | | | | | | | The default digest class changed to SHA256 in sprockets 3.0. Ref: https://github.com/sstephenson/sprockets/pull/647
* | | Add documentation for `config.assets.version` [skip ci]Erol Fornoles2016-10-281-0/+2
| | |
* | | fix initializer name [ci skip]yuuji.yaginuma2016-10-271-1/+1
| | | | | | | | | | | | This changed in c046660
* | | Update HABTM documentation in guidesJames Doyley2016-10-261-3/+1
| | |
* | | Fix HTML escaping in the guidesRafael Mendonça França2016-10-251-1/+1
|/ / | | | | | | render :html escapes the argument if not provided as html safe.
* | 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-151-27/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-151-0/+1
| | | | | | | | | * added bug report template for migrations
* | | fixed guide to add correct documentation for partial render 'as' optionGirish S2016-09-131-7/+7
| | |
* | | 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
| | | |
* | | | 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
* | | Improve Getting Started [ci skip]Shia2016-09-021-2/+1
|/ /