aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #19753 from jonatack/use-ruby-2-2-2Guillermo Iguaran2015-04-132-3/+3
|\ | | | | Upgrade to Ruby 2.2.2
| * Upgrade to Ruby 2.2.2Jon Atack2015-04-142-3/+3
| | | | | | | | and fix the grammar in the ruby_version_check.rb user message.
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-04-145-46/+32
|\ \
| * | [ci skip] add missing file extensionMikhail Dieterle2015-04-101-1/+1
| | |
| * | [ci skip] format rake outputMikhail Dieterle2015-04-101-5/+3
| | |
| * | [ci skip] fix helper nameMikhail Dieterle2015-04-101-1/+1
| | |
| * | [ci skip] Wrap with double quotationyui-knk2015-04-101-1/+1
| | |
| * | [ci skip] Remove unnecessary linesyui-knk2015-04-011-2/+0
| | |
| * | [ci skip] Add `:`yui-knk2015-04-011-1/+1
| | |
| * | No need to mention unit tests in testing guide anymoreKir Shatrov2015-03-311-2/+0
| | |
| * | New test runner syntax in testing guideKir Shatrov2015-03-311-4/+4
| | |
| * | Suggest new hash syntax in testing guideKir Shatrov2015-03-311-2/+2
| | |
| * | Don't suggest `bin/rails test controllers`Kir Shatrov2015-03-311-1/+0
| | |
| * | Add missing "of" to testing guide.Hendy Tanata2015-03-301-1/+1
| | |
| * | Merge branch 'kirs'Matthew Draper2015-03-301-30/+23
| |\ \
| | * | Switch to `bin/rails test` in testing guideKir Shatrov2015-03-301-30/+23
| | | | | | | | | | | | rails/rails#18305
* | | | Merge pull request #19742 from vngrs/config_autoload_paths_wrong_docCarlos Antonio da Silva2015-04-131-3/+1
|\ \ \ \ | | | | | | | | | | Fix the wrong documentation about config.autoload_paths [ci skip]
| * | | | Fix the wrong documentation about config.autoload_paths [ci skip]Mehmet Emin İNAÇ2015-04-131-3/+1
| | | | | | | | | | | | | | | | | | | | config.autoload_paths is not changeable from environment specific configuration files.
* | | | | Improve note about unique index and foreign key on has_one associationCarlos Antonio da Silva2015-04-131-6/+7
| | | | | | | | | | | | | | | | | | | | Related to f1af967e0055a33c45071848a049ff342e9c291e. [ci skip]
* | | | | Add note wrt foreign key constraint to ensure data integrityZachary Scott2015-04-121-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks for patch @sgrif :trollface: Closes #18216
* | | | | Apply comments from @rafaelfranca: we shouldn't recommend you use scaffold cssZachary Scott2015-04-121-9/+0
| | | | | | | | | | | | | | | | | | | | Closes #19492 and fixes #19453
* | | | | Merge pull request #19564 from jonatack/counter_cache_docsZachary Scott2015-04-121-3/+11
|\ \ \ \ \ | | | | | | | | | | | | [skip ci] Fix counter_cache in the Rails Guides
| * | | | | [skip ci] Fix counter_cache in the Rails GuidesJon Atack2015-03-281-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the AR Associations Guide, this PR fixes: - The counter_cache declaration is now shown only in the `belongs_to` association. - The docs stated that the counter_cache declaration needs to be on the `has_many` side; now corrected to the `belongs_to` side. - Split the custom column explanation out to a separate paragraph. - Simplify the NOTE because it is true both with and without a custom column name.
* | | | | | Some copy edits for modifying View Paths [ci skip]Zachary Scott2015-04-121-5/+21
| | | | | |
* | | | | | Merge branch 'view_paths' of https://github.com/nishantmodak/rails into ↵Zachary Scott2015-04-121-1/+17
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | nishantmodak-view_paths
| * | | | | view paths docs [ci skip]Nishant Modak2015-04-131-1/+17
| | | | | |
* | | | | | Merge pull request #19732 from wazery/patch-2Kasper Timm Hansen2015-04-121-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | [ci skip] Update contributing guide
| * | | | | | [ci skip] Update contributing guideIslam Wazery2015-04-121-2/+2
| | | | | | |
* | | | | | | Fix a few typos and wrap some lines [ci skip]Robin Dupret2015-04-121-3/+4
| | | | | | |
* | | | | | | remove reference to `register_javascript_expansion` and ↵yuuji.yaginuma2015-04-121-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `register_stylesheet_expansion` from guide [ci skip] These methods no longer exists.
* | | | | | | Speed up Levenshtein by 50% and reduce 97% of memory usageYuki Nishijima2015-04-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calculating ------------------------------------- each_char 924.000 i/100ms each_codepoint 1.381k i/100ms ------------------------------------------------- each_char 9.320k (¡Þ 5.1%) i/s - 47.124k each_codepoint 13.857k (¡Þ 3.6%) i/s - 70.431k Comparison: each_codepoint: 13857.4 i/s each_char: 9319.5 i/s - 1.49x slower The full report can be found here: https://gist.github.com/yuki24/a80988f35aceac76f1d5
* | | | | | | Remove mention of super old defined_javascript_functions method [ci skip]Carlos Antonio da Silva2015-04-111-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was removed long ago: e358b1fce8fdcbac896dde08286be020420e843e.
* | | | | | | Rename railties/bin to railties/exeIslam Wazery2015-04-111-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | That will match the new Bundler executables convention. Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html Also updated the necessary tests.
* | | | | | [ci skip] Remove `link_to_function` and `button_from_function` from guideseileencodes2015-04-111-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These methods were removed in cb9f7f4 and are no longer methods in the Rails codebase.
* | | | | | [skip ci] primay_key -> primary_keyJon Atack2015-04-111-1/+1
| | | | | |
* | | | | | Copy edits for primary_key documentation in association guide. [ci skip]Zachary Scott2015-04-101-3/+4
| | | | | |
* | | | | | Merge branch 'belongs_to_primary_key_doc' of ↵Zachary Scott2015-04-101-0/+19
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | https://github.com/girishso/rails into girishso-belongs_to_primary_key_doc
| * | | | | | added primary_key option documentation for belongs_to associationGirish S2014-09-231-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes issue #16698
* | | | | | | [ci skip] Downcases filter namesyui-knk2015-04-101-3/+3
| | | | | | |
* | | | | | | Add Active Job to Configuring Guide [ci skip]Eliot Sykes2015-04-092-0/+60
| |/ / / / / |/| | | | |
* | | | | | Fix URL rails-framework-hooksNishant Modak2015-04-071-1/+1
| | | | | |
* | | | | | correct the directory which rake notes look by default [ci skip]yuuji.yaginuma2015-04-061-1/+1
| | | | | |
* | | | | | [ci skip] Remove Extensions to `Proc` chapter sectionyui-knk2015-04-061-47/+0
| | | | | | | | | | | | | | | | | | | | | | | | `Proc#bind` is removed with 4.1 release
* | | | | | Update command_tasks source codeSzymon Madeja2015-04-051-1/+1
| | | | | |
* | | | | | Fix a few typos [ci skip]Robin Dupret2015-04-051-5/+7
| | | | | |
* | | | | | Merge pull request #19644 from y-yagi/auto_discovery_link_tag_docYves Senn2015-04-051-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | correct output of auto_discovery_link_tag [ci skip]
| * | | | | | correct output of auto_discovery_link_tag [ci skip]yuuji.yaginuma2015-04-041-1/+1
| | | | | | |
* | | | | | | change REQUEST_URI to PATH_INFOMehmet Emin İNAÇ2015-04-041-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | request.env['REQUEST_URI'] returns full URI of the resource request.env['PATH_INFO'] returns only path of the resource
* | | | | | [ci skip] Replace `reraised` with `not captured`yui-knk2015-04-021-1/+1
| | | | | |
* | | | | | [ci skip] fix guides example on arbitrary SQL executionKonstantinos Rousis2015-04-011-1/+1
| | | | | |