aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* OS X -> macOS [Closes #30313]Xavier Noria2018-06-231-2/+2
| | | | [Jon Moss & Xavier Noria]
* Active Storage: Explicit form field in basic exampleHenrik Nyh2018-06-221-1/+5
| | | Also fix syntax highlighting in the more advanced JS example.
* Permit configuring the default service URL expiryGeorge Claghorn2018-06-211-0/+7
|
* add documentation for ↵Thomas Dziedzic2018-06-201-0/+2
| | | | | | config.active_support.use_authenticated_message_encryption [ci skip] related to https://github.com/rails/rails/issues/33170
* Fix Active Storage configuration example [ci skip]yuuji.yaginuma2018-06-161-2/+2
| | | | It is necessary to specify a value to `config.active_storage`.
* Update example for whitelisting arbitrary hashesMichael Holroyd2018-06-141-11/+9
| | | Since the ability to whitelist arbitrary hashes was added (https://github.com/rails/rails/issues/9454 was resolved by https://github.com/rails/rails/commit/e86524c0c5a26ceec92895c830d1355ae47a7034), this example is no longer outside of what strong_params can do. Moved this specific example out of the "Outside the Scope" section and into the regular "Examples" section, but left the "Outside the Scope" section as it was since the advice is still relevant for weirder whitelisting situations (maybe someone wants to add a new example that can't be handled natively).
* Add missing documentation about `config.action_mailer.preview_interceptors` ↵yuuji.yaginuma2018-06-141-0/+6
| | | | [ci skip]
* Update "Active Support Core Extensions" Guidebogdanvlviv2018-06-121-76/+56
| | | | | | | | | | | | | | Remove general sentence that explains that all methods that Active Support brings to `Date` `Time`, `DateTime` are defined in `active_support/core_ext/date/calculations.rb` since it isn't true. Add a references to an appropriate file where methods are defined like it is done with the other methods in this guide. Context https://github.com/rails/rails/pull/32552#discussion_r181216246 Related to #32543, #32552 [ci skip]
* Add comma to example in guides/source/active_storage_overview.md [ci skip]Matt Sias2018-06-111-1/+1
|
* Add changelog for #32956 [ci skip]bogdanvlviv2018-06-121-1/+1
| | | | Add mention about default value of `config.active_model.i18n_full_message`.
* Merge pull request #33120 from bogdanvlviv/fix-active_model-errors-docsRyuta Kamizono2018-06-121-1/+1
|\ | | | | Fix active_model/errors docs [ci skip]
| * Fix active_model/errors docs [ci skip]bogdanvlviv2018-06-121-1/+1
| | | | | | | | | | | | | | - Fix indentation. - Add a missing dot to the end of the sentence. Related to #32956
* | Remove backticks around proejct namesutilum2018-06-112-5/+5
| | | | | | | | [ci skip]
* | Merge pull request #33092 from utilum/warnings_in_contribute_guideRafael França2018-06-111-6/+0
|\ \ | | | | | | Remove ineffective no-warnings flags from Contribute guide
| * | Remove ineffective no-warnings flags from Contribute guideutilum2018-06-081-6/+0
| | | | | | | | | | | | This is not working. [ci skip]
* | | Merge pull request #32997 from utilum/dev_dep_guide_update_ast_requirementsRafael França2018-06-112-5/+34
|\ \ \ | |_|/ |/| | Dev-Dep guide: mention AST third party requirements
| * | Update ffmpeg -> FFmpeg, mutools|mupdf -> muPDFutilum2018-06-081-0/+1
| | | | | | | | | | | | [ci skip]
| * | Dev-Dep guide: mention AST third party requirementsutilum2018-06-082-5/+33
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid the likes of: ``` Error: ActiveStorage::RepresentationTest#test_representing_an_MP4_video: Errno::ENOENT: No such file or directory - ffmpeg test/models/representation_test.rb:27:in `block in <class:RepresentationTest>' ``` Also note additiona macOS requirements in ActiveStorage guide. [ci skip]
* | Merge pull request #32956 from Shopify/i18n_activemodel_errors_full_messageRafael França2018-06-111-0/+4
|\ \ | | | | | | Allow to override the full_message error format
| * | Add global config for config.active_model.i18n_full_messageMartin Larochelle2018-06-051-0/+4
| | |
* | | Update `config.active_storage.variable_content_types` default value in ↵yuuji.yaginuma2018-06-101-1/+1
| |/ |/| | | | | | | | | guides [ci skip] Follow up of 3915a47.
* | Fix example of `index_with`bogdanvlviv2018-06-071-2/+2
| | | | | | | | | | | | | | | | | | | | - Clarify executor of `public_send`. - Do not wrap `Interval.all_day` into [] since an array is expected as a returned value. Related to #32523. [ci skip]
* | Escape newlines in the GCS private key for valid YAML [ci skip]George Claghorn2018-06-061-1/+1
| |
* | Merge pull request #33047 from artfuldodger/patch-3Eileen M. Uchitelle2018-06-041-1/+1
|\ \ | | | | | | Fix testing guide typo
| * | Fix testing guide typoJon Evans2018-06-011-1/+1
| | |
* | | Correct default value of `unknown_asset_fallback`James Adam2018-06-041-1/+1
|/ / | | | | | | | | `Rails.application.config.assets.unknown_asset_fallback` now defaults to `false` in an unmodified Rails application. [ci skip]
* | Merge pull request #33039 from ↵Prem Sichanugrist2018-06-021-1/+1
|\ \ | | | | | | | | | | | | ybakos/guides/layouts_and_rendering_class_spelling_fix Capitalize class name 'Product' in layouts and rendering guide.
| * | Capitalize class name 'Product'.Yong Bakos2018-06-011-1/+1
| | | | | | | | | | | | | | | In this context, the phrase 'product instance' refers to the Product class, so capitalize it.
* | | Remove 'Current.' prefix from example.Yong Bakos2018-06-011-2/+2
|/ / | | | | | | | | The prior sentence is referring just to an existing user object, so the sudden magical 'Current.' prefix doesn't make sense. Remove it.
* | add CHANGELOG/Docutilum2018-05-221-7/+12
| |
* | [ci skip] Add documentation/changelog entry.Kasper Timm Hansen2018-05-211-0/+15
| |
* | Fix markdown [ci skip]Rafael Mendonça França2018-05-171-1/+1
| |
* | Demonstrate ActiveStorage::Blob#open in the Active Storage guideGeorge Claghorn2018-05-161-42/+9
| |
* | Added a lot of Oxford commasAnthony Crumley2018-05-1034-115/+115
| | | | | | | | | | | | | | [ci skip] A regular expression was used to find a lot of missing Oxford commas and add them. The regular expression was as follows. ", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
* | [ci skip] fix typo in active_support_instrumentation.md guideAssain2018-05-101-1/+1
| |
* | Merge pull request #32833 from ryandav/activestorage_blob_set_content_typeGeorge Claghorn2018-05-081-0/+12
|\ \ | | | | | | Add option to ActiveStorage::Blob to set extract_content_type_from_io
| * | Add option to ActiveStorage::Blob to set extract_content_type_from_ioRyan Davidson2018-05-081-0/+12
| | | | | | | | | | | | | | | | | | | | | This adds a boolean argument called identify to ActiveStorage::Blob methods #create_after_upload, #build_after_upload and #upload. It allows a user to bypass the automatic content_type inference from the io.
* | | Fix named route parameter example [ci skip]yuuji.yaginuma2018-05-081-5/+5
| | | | | | | | | | | | The prefix of `new` and `edit` generated by `resources` is singular.
* | | Fix output in routing.md [ci skip]Yuta Uchida2018-05-071-1/+1
|/ /
* | restores original intention in constants guide, reworded [ci skip]Xavier Noria2018-05-061-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once all technicalities have been introduced, the purpose of this paragraph is to precisely unroll expressions like "the String class". That way, the reader is forced to clearly separate concepts that Ruby programmers often have kind of blurred: * Constants are storage, like variables. * Ruby does not have syntax for class or module names. * `String` is a regular constant that holds a value. In this case, the value happens to be a class object. * Constants are stored in class and module objects. In the case of `String`, the holder is the class object stored in the `Object` constant. Understanding that paragraph the way is written is important to accomplish this objective. References #32818.
* | Active Record postgresql documentation for bit string types correctedSagar Kamble2018-05-061-1/+1
| |
* | Merge pull request #32818 from mechanicles/remove-sentence-confusionEileen M. Uchitelle2018-05-041-3/+3
|\ \ | | | | | | Remove confusion in the sentence [ci skip]
| * | Remove confusion in the sentence [ci skip]Santosh Wadghule2018-05-041-3/+3
| | |
* | | Minor edits to the Active Storage guideTyler Hunt2018-05-031-5/+5
| | | | | | | | | | | | | | | | | | Fix spelling, grammar, and formatting. [ci skip]
* | | Partly revert "Use https with weblog URI" [ci skip]Ryuta Kamizono2018-05-031-1/+1
|/ / | | | | | | weblog.jamisbuck.org is not GitHub Pages.
* | Use https with weblog URIYoshiyuki Hirano2018-05-027-12/+12
| |
* | Merge pull request #32769 from anthonycrumley/document-active-storage-folderGeorge Claghorn2018-04-301-0/+1
|\ \ | | | | | | Document rails new <app> storage folder
| * | Document rails new <app> storage folderAnthony Crumley2018-04-301-0/+1
| | | | | | | | | | | | | | | [ci skip] Active Storage now adds a storage folder to newly generated rails applications.
* | | Fix an oxford commaAnthony Crumley2018-04-301-1/+1
|/ / | | | | | | [ci skip]
* | Remove reference to TokaidoJonathan Roes2018-04-301-5/+3
| |