aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | fix links to code of conduct [ci skip]yuuji.yaginuma2015-12-111-1/+1
| | | | | | | | | | | | | | | | CoC text has been moved to the Rails website in 90bcb6d
* | | | Merge pull request #22367 from andreynering/docs-ar-enumsYves Senn2015-12-101-0/+30
|\ \ \ \ | |/ / / |/| | | | | | | Adding Enums section to AR Querying. [ci skip]
| * | | Adding Enums section to Active Record Querying Guide. [ci skip]Andrey Nering2015-12-081-0/+25
| | | |
* | | | Mention the debug_exception_response_format config in guidesJorge Bejar2015-12-091-0/+8
|/ / /
* | | Introduce after_{create,update,delete}_commit callbacksGenadi Samokovarov2015-12-061-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Those are actually shortcuts for `after_commit`. Before: after_commit :add_to_index_later, on: :create after_commit :update_in_index_later, on: :update after_commit :remove_from_index_later, on: :destroy After: after_create_commit :add_to_index_later after_update_commit :update_in_index_later after_destroy_commit :remove_from_index_later
* | | Update autoloading_and_reloading_constants.mdpavlos2015-12-011-1/+1
| | | | | | | | | Fixed a typo
* | | Merge pull request #22343 from jeffminnear/patch-1Claudio B2015-12-011-2/+9
|\ \ \ | | | | | | | | Modify unscoped usage guide to include chaining [ci skip]
| * | | Modify unscoped usage guide to include chainingJeff Minnear2015-11-301-2/+9
| | | |
* | | | Merge pull request #22427 from eliotsykes/validation-message-proc-docYves Senn2015-11-301-1/+30
|\ \ \ \ | | | | | | | | | | | | | | | Document message validation option accepts Proc [ci skip]
| * | | | Document message validation option accepts ProcEliot Sykes2015-11-271-1/+30
| | | | |
* | | | | Merge pull request #22283 from the-undefined/routes-error-singular-resourceArthur Nogueira Neves2015-11-281-2/+2
|\ \ \ \ \ | | | | | | | | | | | | [ci skip] add `controller:` argument to routing.md
| * | | | | [ci skip] add `controller:` argument to routing.mdthe-undefined2015-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Passing a `Symbol` to the `to:` argument for a `get` route requires a `controller` argument to also be defined. The documentation is missing the `controller:` argument, which leaving out raises a routing exception: ```ruby get 'profile', to: :show ``` ``` $ rake routes ArgumentError: Missing :controller key on routes definition, please check your routes. ``` Adding the `controller:` argument maps the route correctly: ```ruby get 'profile', to: :show, controller: 'users' ``` ``` $ rake routes profile GET /profile(.:format) users#show ```
* | | | | | Merge pull request #22315 from takatoshiono/fix-configuring-docArthur Nogueira Neves2015-11-281-2/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Fix set_autoload_paths and set_load_path document [ci skip]
| * | | | | Fix set_autoload_paths and set_load_path documentTakatoshi Ono2015-11-171-2/+2
| | | | | |
* | | | | | Merge pull request #22263 from mastahyeti/csrf-origin-checkRafael França2015-11-261-0/+2
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | Add option to verify Origin header in CSRF checks [Jeremy Daer + Rafael Mendonça França]
| * | | | | Add option to verify Origin header in CSRF checksBen Toews2015-11-251-0/+2
| | | | | |
* | | | | | 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
* | | | | | [ci skip] Add `Translating Rails Guides` to contributing_to_ruby_on_railsyui-knk2015-11-231-0/+36
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Docrails is private now (6cb1b6724c313c608cf4063fc22886faa19df9be), anyone who does not have access right to docrails can't read "Translating Rails Guides" in wiki of docrails. To prevent someone from giving up to translate, publish them on Rails Guide.
* | | | | Change configuration-guide examplerbr2015-11-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use an example from a default Rails app (4.2.5) rather than an outdated one in the Configuring Rails Components section. I picked config.time_zone as it currently is the only 'setting for Rails' left in a default config/application.rb. I stumbled upon this with investigating autoloading in a legacy app, which still included the example comment "# config.autoload_paths += %W(#{config.root}/extras)". Usually adding app/* directories to autoload_paths isn't necessary, so also finding this example within the current docs was a bit confusing initially. [ci skip]
* | | | | guides, scaffold no longer used in getting started guide. Closes #22337.Yves Senn2015-11-191-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip] Since the "Getting Started" guide no longer uses the scaffold generator we should rewrite references to that in the testing guide. The functional testing section was quite heavily based on such a scaffold test. I changed it to use `generate scaffold_controller` instead so that we can build up on the model foundation we already have.
* | | | | [ci skip] Indentation in cache exampleszacharywelch2015-11-181-2/+2
| | | | |
* | | | | Revert "Fixed a few grammar issues."Rafael Mendonça França2015-11-182-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 16ce41b7f4449d6df15df30d69aef18da6510f36. Reason: See https://github.com/rails/rails/commit/16ce41b7f4449d6df15df30d69aef18da6510f36#commitcomment-14475125
* | | | | Fixed a few grammar issues.David Chen2015-11-182-2/+2
| | | | |
* | | | | [ci skip] fix inconsistent indentationJesse Doyle2015-11-171-1/+1
| |/ / / |/| | |
* | | | Merge pull request #22298 from ↵Kasper Timm Hansen2015-11-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | yuki24/make-static-index-part-of-public-file-server-config Make the `config.static_index` option part of the `config.public_server` option
| * | | | Make the `static_index` config part of the `config.public_server` configYuki Nishijima2015-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | Also call it `public_server.index_name` so it'll make more sense.
* | | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2015-11-151-2/+24
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | copy edits [ci skip]Vijay Dev2015-11-151-12/+6
| | | | |
| * | | | Grammer & Style Tweaks as per feedbackGaurish Sharma2015-11-141-3/+3
| | | | |
| * | | | Document time testing helpersGaurish Sharma2015-11-091-0/+28
| | | | |
| * | | | :nailcare: Grammer fixesGaurish Sharma2015-11-091-2/+2
| | | | |
* | | | | Merge pull request #22112 from claudix/masterXavier Noria2015-11-131-0/+21
|\ \ \ \ \ | | | | | | | | | | | | Added warning on coding engine controllers [ci skip]
| * | | | | Improved explanationClaudi Martinez2015-11-131-4/+1
| | | | | |
| * | | | | Improved explanationClaudi Martinez2015-11-011-10/+16
| | | | | |
| * | | | | Fixed typoClaudi Martinez2015-10-291-1/+1
| | | | | |
| * | | | | Added warning on coding engine controllersClaudi Martinez2015-10-291-0/+18
| | | | | |
* | | | | | Fix typo: "in" should be "is"Rémy Coutable2015-11-111-1/+1
| | | | | |
* | | | | | Clarify i18n active[model/record] key differencesJames Coleman2015-11-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | I spent a decent amount of time the other day trying to figure out why my active model including class wasn't generating the properly localized validation messages, and a note like this would have saved me a lot of time.
* | | | | | upgrade listen to 3.0.4Xavier Noria2015-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 3.0.3 has a bug in OS X.
* | | | | | document the evented file system monitor opt-in in the config guide [ci skip]Xavier Noria2015-11-081-0/+22
| | | | | |
* | | | | | Fixed wording.Mike Boone2015-11-081-1/+1
| | | | | |
* | | | | | Merge pull request #21897 from swaathi/masterKasper Timm Hansen2015-11-071-0/+14
|\ \ \ \ \ \ | | | | | | | | | | | | | | Parameterize with options to preserve the case of string
| * | | | | | Parameterize with options to preserve case of stringSwaathi K2015-11-071-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added test cases Using kwargs instead of three seperate functions Updated parameterize in transliterate.rb Updated parameterize in transliterate.rb Added deprecation warnings and updating RDoc+Guide Misspelled separtor. Fixed. Deprecated test cases and added support to parameterize with keyword parameters Squashing commits. Fixed test cases and added deprecated test cases Small changes to Gemfile.lock and CHANGELOG Update Gemfile.lock
* | | | | | | Merge pull request #22213 from y-yagi/remove_deprecated_option_from_guideRichard Schneeman2015-11-071-15/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | remove deprecated `:tokenizer` option from guide [ci skip]
| * | | | | | | remove deprecated `:tokenizer` option from guide [ci skip]yuuji.yaginuma2015-11-071-15/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | `:tokenizer` option was deprecated in 1c341eb7cbaeb52435f14c2595e391bfb2e5e38b
* | | | | | | Merge pull request #22145 from atul-shimpi/masterYves Senn2015-11-071-2/+0
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | guides, the required option in generators is no longer available. [ci skip]
| * | | | | | Issue #22139 : Edge Guides - ActiveRecord Migrations - Remove required ↵atul-shimpi2015-11-011-2/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | option for column
* | | | | | Add comma to to make the information clearUbuntu2015-11-071-1/+1
| | | | | |
* | | | | | Clarify automatic creation/deletion of join models for has_many throughSean Collins2015-11-061-2/+4
| |_|/ / / |/| | | | | | | | | | | | | | [ci-skip]
* | | | | Merge pull request #22150 from raq929/patch-1Yves Senn2015-11-051-2/+4
|\ \ \ \ \ | | | | | | | | | | | | Update association_basics.md [ci skip]