aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Update working_with_javascript_in_rails.mdGuillermo Iguaran2017-08-011-1/+1
|
* Update working_with_javascript_in_rails.mdGuillermo Iguaran2017-08-011-1/+1
|
* Change http postgresql.org links to https [ci skip]yuuji.yaginuma2017-07-303-24/+24
| | | | | It seems that it accepts only HTTPS connections. Ref: https://github.com/postgres/postgres/commit/7f77cbd996855a06fb742ea11adbe55c42b48fe2
* Squashed commit of the following:ydakuka2017-07-281-3/+3
| | | | | | | | | | | | | | commit 4a3d295f3011e771cddead80de7497ca15d15c13 Author: Yauheni Dakuka <yauheni.dakuka@gmail.com> Date: Fri Jul 28 14:31:35 2017 +0300 Update routing.md commit 620a4ce47288e3ef6504290c78f931214968e7e3 Author: Yauheni Dakuka <yauheni.dakuka@gmail.com> Date: Fri Jul 28 14:19:29 2017 +0300 [ci skip] update routing guide
* [ci skip] update routing guideYauheni Dakuka2017-07-281-1/+1
|
* Require arel master in the benchmark templateSean Griffin2017-07-251-0/+1
| | | | Pointing at Rails master generally requires pointing at Arel master
* [ci skip] Add documentation for after_create_commit and after_update_commit ↵jagdeepsingh2017-07-251-0/+29
| | | | callbacks
* Merge pull request #29884 from padi/update_rails_5_upgrade_guideRafael França2017-07-211-0/+10
|\ | | | | Updates Rails upgrade guide on `ActionView::Helpers::RecordTagHelper`
| * Updates Rails upgrade guide for 4.2 to 5.0 regarding the removal of ↵Marc Rendl Ignacio2017-07-211-0/+10
| | | | | | | | `ActionView::Helpers::RecordTagHelper`
* | Merge pull request #27662 from nhorton/patch-1Sean Griffin2017-07-171-1/+1
|\ \ | | | | | | Fixing "Adding Member Routes" documentation
| * | Fixing "Adding Member Routes" documentationNoah Horton2017-01-121-1/+1
| | | | | | | | | Previously said the helpers were preview_photo_url and preview_photo_path, i.e. action_resource, when in fact they are resource_action. i.e. photo_preview_path. Fixed.
* | | Merge pull request #29758 from glaucocustodio/patch-1 [ci skip]Sean Griffin2017-07-171-2/+1
|\ \ \ | | | | | | | | Add documentation for class_attribute default option
| * | | Add documentation for class_attribute optionsGlauco Custódio2017-07-171-2/+1
| | | |
* | | | Merge pull request #29782 from y-yagi/follow_up_29699Kasper Timm Hansen2017-07-161-1/+1
|\ \ \ \ | | | | | | | | | | Set `represent_boolean_as_integer` via `configuration`
| * | | | Set `represent_boolean_as_integer` via `configuration`yuuji.yaginuma2017-07-161-1/+1
| | | | |
* | | | | Replace Erubis with Erubi in a part of guide [ci skip]Koichi ITO2017-07-161-1/+1
|/ / / /
* | | | Merge pull request #29770 from y-yagi/fix_boolean_column_migration_scriptKasper Timm Hansen2017-07-151-1/+1
|\ \ \ \ | | | | | | | | | | Fix boolean column migration script
| * | | | Fix boolean column migration scriptyuuji.yaginuma2017-07-131-1/+1
| | |_|/ | |/| |
* | | | Remove redundant instances of the word 'simply' from documentation, on the ↵Emma Barnes2017-07-151-4/+4
| | | | | | | | | | | | | | | | basis that if it was simple, the user wouldn't be reading the docs
* | | | [ci skip]Remove options of javascript_link_tag and stylesheet_link_tag in guideswillnet2017-07-141-32/+0
|/ / /
* | | Merge pull request #29699 from lugray/represent_boolean_as_integerMatthew Draper2017-07-121-0/+22
|\ \ \ | | | | | | | | Change sqlite3 boolean serialization to use 1 and 0
| * | | Change sqlite3 boolean serialization to use 1 and 0Lisa Ugray2017-07-111-0/+22
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Abstract boolean serialization has been using 't' and 'f', with MySQL overriding that to use 1 and 0. This has the advantage that SQLite natively recognizes 1 and 0 as true and false, but does not natively recognize 't' and 'f'. This change in serialization requires a migration of stored boolean data for SQLite databases, so it's implemented behind a configuration flag whose default false value is deprecated. The flag itself can be deprecated in a future version of Rails. While loaded models will give the correct result for boolean columns without migrating old data, where() clauses will interact incorrectly with old data. While working in this area, also change the abstract adapter to use `"TRUE"` and `"FALSE"` as quoted values and `true` and `false` for unquoted. These are supported by PostreSQL, and MySQL remains overriden.
* / / Fix english for the rescue_from warning [ci skip]Yuki Nishijima2017-07-111-1/+1
|/ /
* | Protect from forgery by defaultLisa Ugray2017-07-101-0/+2
| | | | | | | | | | | | | | | | Rather than protecting from forgery in the generated ApplicationController, add it to ActionController::Base by config. This configuration defaults to false to support older versions which have removed it from their ApplicationController, but is set to true for Rails 5.2.
* | [ci skip] Updated language on validations.Daniel Castro2017-07-091-2/+2
| |
* | Clarify i18n guide for how pluralization rules work by defaultSage Ross2017-07-071-2/+20
| | | | | | | | The guide misleadingly indicates that the I18n gem will apply the CLDR pluralization rules for each language. This is not the case; only the English algorithm, with support for :zero, :one, and :other, is available by default. Locale-specific pluralization rules require additional configuration and must be supplied by the application (or by another gem).
* | Merge pull request #29668 from y-yagi/add_missing_status_code_and_symbolArun Agrawal2017-07-041-0/+2
|\ \ | | | | | | Add missing http status codes [ci skip]
| * | Add missing http status codes [ci skip]yuuji.yaginuma2017-07-041-0/+2
| | | | | | | | | | | | | | | Ref: https://github.com/rack/rack/commit/5401f776f660b1f8d0e0650ba78478d7488eff75, https://github.com/rack/rack/commit/73e08279d4433ca66cf22157a40dba562629031a
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-0221-21/+0
| | | | | | | | | | | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* | | Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-0221-0/+21
|\ \ \ | | | | | | | | | | | | Enforce frozen string in Rubocop
| * | | Enforce frozen string in RubocopKir Shatrov2017-07-0121-0/+21
| |/ /
* | | Merge pull request #29534 from y-yagi/clear_screenshots_in_tmp_clear_taskEileen M. Uchitelle2017-07-011-7/+8
|\ \ \ | |/ / |/| | Clear screenshots files in `tmp:clear` task
| * | Clear screenshots files in `tmp:clear` taskyuuji.yaginuma2017-06-271-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | If system test fails, it creates screenshot under `tmp/screenshots`. https://github.com/rails/rails/blob/34fe2a4fc778d18b7fe6bdf3629c1481bee789b9/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb#L45 But currently, screenshot files is not cleared by `tmp:clear` task. This patch make clears screenshot files with `tmp:clear` task as well as other tmp files.
* | | [ci skip] run migration before looking at schemaSai Prashanth2017-06-301-2/+2
| | |
* | | Specify correct extension for text layoutsJorge Dias2017-06-291-1/+1
| | | | | | | | | When using render plain the extension for the layout needs to be .text.erb instead of .txt.erb
* | | Fix grammar for documentation of rails/command.rb [ci skip]James Bush2017-06-281-1/+1
| | |
* | | Document ActiveRecord's PostgreSQL-specific support for JSONB datatype in ↵Marc Rendl Ignacio2017-06-271-1/+6
|/ / | | | | | | | | | | RailsGuides [ci skip]
* | Update security.mdYauheni Dakuka2017-06-261-1/+1
| |
* | Guides: Clarify partial local variable naming.Yong Bakos2017-06-231-1/+1
| | | | | | | | | | Clarify the partial local variable name as being the same as the name of the partial, minus the _leading_ underscore.
* | Merge pull request #29524 from ↵Eileen M. Uchitelle2017-06-222-8/+4
|\ \ | | | | | | | | | | | | y-yagi/do_not_use_private_api_in_bug_report_templates Do not use private API in bug report templates
| * | Do not use private API in bug report templatesyuuji.yaginuma2017-06-222-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | `ActiveRecord::Migrator` is private API. https://github.com/rails/rails/blob/bb9d6eb094f29bb94ef1f26aa44f145f17b973fe/activerecord/lib/active_record/migration.rb#L977 Therefore, it is not good to use it in bug report templates. Instead, should use the public API `ActiveRecord::Migration#migrate`.
* | | Fix hash conditions documentation [ci skip]Abraham Chan2017-06-221-2/+0
| | |
* | | Shrink image files in the guides using ImageOptimAkira Matsuda2017-06-2139-0/+0
| | |
* | | [ci skip] Fixed the attribute name for event.detailPrathamesh Sonpatki2017-06-201-3/+3
|/ /
* | Merge pull request #29493 from y-yagi/deprecate_capifyRafael França2017-06-191-8/+0
|\ \ | | | | | | Deprecate an `capify!` method in generators and templates
| * | Deprecate an `capify!` method in generators and templatesyuuji.yaginuma2017-06-181-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The `capify` command has been removed by Capistrano 3 and became to `cap install`. Therefore, the `capify!` method has no meaning in Capistrano 3. I think that should deprecate. Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
* | | [ci skip] Update fedora SQLite3 package nameutilum2017-06-171-1/+1
|/ /
* | Remove references to deprecared raise_runtime_errors from documentation, ↵Vipul A M2017-06-172-16/+0
| | | | | | | | which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
* | Updated `working with javascript` readme to support the behavior of rails-ujs.Dmytro Vasin2017-06-151-0/+29
| |
* | Add brakeman to guides/additional resources. Fixes #29383 [ci skip] (#29427)Vipul A M2017-06-121-3/+4
| |