aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
* | | [ci skip] Fix `:having` option with `having` methodyui-knk2015-04-011-1/+1
| | |
* | | Update routing.mdJonan Scheffler2015-04-011-0/+12
| | | | | | | | | | | | | | | | | | This adds instructions for routing to rack applications with mount instead of match. I just spent an unreasonable amount of time staring at this, hopefully the next person will save some time. It's possible that the docs should simply advise people to use mount and leave out the match method but I don't know enough about the differences in the two approaches to assert that definitively.
* | | Remove unused subdir deployment considerations section [ci skip]Eliot Sykes2015-03-311-9/+0
| | |
* | | Merge pull request #19034 from jvanbaarsen/explicit-job-base-classMatthew Draper2015-03-301-0/+15
|\ \ \ | | | | | | | | | | | | Add explicit base class for ActiveJob jobs
| * | | Add explicit base class for ActiveJob jobsJeroen van Baarsen2015-03-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | | | Merge pull request #19483 from yui-knk/fix/getting_startedZachary Scott2015-03-291-1/+1
|\ \ \ \ | |_|_|/ |/| | | [ci skip] Fix an object of `reference`
| * | | [ci skip] Fix an object of `reference`yui-knk2015-03-241-1/+1
| | | |
* | | | Remove old and not working link. [ci skip]Santosh Wadghule2015-03-281-1/+1
| | | |
* | | | Correct doc sentence [ci skip]Santosh Wadghule2015-03-271-1/+1
| | | |
* | | | [skip ci] Update configuring.md with #18846Jon Atack2015-03-271-0/+5
| | | | | | | | | | | | | | | | | | | | Add `config.active_record.warn_on_records_fetched_greater_than` to the Configuring Rails Guide.
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-03-267-28/+28
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: guides/source/4_0_release_notes.md
| * | | | Rails 5 requires 2.2.1. [ci skip]Juanito Fatas2015-03-241-1/+1
| | | | | | | | | | | | | | | | | | | | Follow up of https://github.com/rails/rails/pull/19263.
| * | | | [ci skip] Change to a singular form (`the comment model`)yui-knk2015-03-241-1/+1
| | | | |
| * | | | [ci skip] Capitalize titleyui-knk2015-03-221-1/+1
| | | | |
| * | | | Better title in Testing GuideKir Shatrov2015-03-221-1/+1
| | | | | | | | | | | | | | | | | | | | suggested by @senny https://github.com/rails/rails/pull/18305#issuecomment-73847595
| * | | | [ci skip] Fix link formatyui-knk2015-03-151-1/+1
| | | | |
| * | | | [ci skip] Remove spacesyui-knk2015-03-141-27/+27
| | | | |
| * | | | Add backquote to :as option.yui-knk2015-03-111-1/+1
| | | | |