aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Update i18n guide to cover :zero key support in pluralization [ci skip]Anne Johnson2017-02-261-2/+8
|
* Use released arelyuuji.yaginuma2017-02-261-1/+0
| | | | Follow up to ea9566f6cd1b4d3f0d8a5f03283b49423b89044d
* Soft-deprecate the top-level HashWithIndifferentAccess classRobin Dupret2017-02-251-0/+19
| | | | | | | Since using a `ActiveSupport::Deprecation::DeprecatedConstantProxy` would prevent people from inheriting this class and extending it from the `ActiveSupport::HashWithIndifferentAccess` one would break the ancestors chain, that's the best option we have here.
* Fix w3c_validator.rb validation scriptLaurent Arnoud2017-02-231-4/+5
|
* Preparing for 5.1.0.beta1 releaseRafael Mendonça França2017-02-231-0/+4
|
* remove needless extension from system test example [ci skip]yuuji.yaginuma2017-02-221-1/+1
|
* [doc] Fix wrong class name in testing.mdCelso Fernandes2017-02-211-1/+1
| | | | As the specified command is `rails g system_test articles`, the generated class name is `ArticlesTest`, not `UsersTest`
* Use released arelRafael Mendonça França2017-02-215-5/+0
|
* Tiny documentation edits [ci skip]Robin Dupret2017-02-211-16/+11
|
* Fix some grammar in docs [ci skip]kenta-s2017-02-211-3/+3
|
* Clean up documentationeileencodes2017-02-201-7/+7
| | | | | There were some grammar issues and incorrect information in the system tests documentation.
* Rename system_test_helper -> application_system_test_caseeileencodes2017-02-201-12/+12
| | | | | | This renames the system test helper file to be application system test case to match what the rest of Rails does. In the future we should consider changing the test_helper to match.
* Move and rename system testseileencodes2017-02-201-5/+5
| | | | | | | | | | * Move system tests back into Action Pack * Rename `ActionSystemTest` to `ActionDispatch::SystemTestCase` * Remove private base module and only make file for public `SystemTestCase` class, name private module `SystemTesting` * Rename `ActionSystemTestCase` to `ApplicationSystemTestCase` * Update corresponding documentation and guides * Delete old `ActionSystemTest` files
* Update documentation and guideseileencodes2017-02-201-98/+36
| | | | | Update the documentation after rewriting a majority of the functionality for system testing.
* Add guides for system testingeileencodes2017-02-201-3/+251
| | | | | This adds the required guides for how to write and use system tests in your application.
* [ci skip] Update Guides to use macOS instead of Mac OS XVitali Tatarintev2017-02-205-9/+9
|
* Merge pull request #28058 from y-yagi/follow_up_to_27608Jon Moss2017-02-172-23/+1
|\ | | | | Remove deprecate passing string to `:if` and `:unless` conditional options [ci skip]
| * Remove deprecate passing string to `:if` and `:unless` conditional options ↵yuuji.yaginuma2017-02-182-23/+1
| | | | | | | | | | | | [ci skip] Follow up to #27608
* | Change engines guide to demonstrate maintained forumRichard2017-02-171-1/+1
| | | | | | | | | | | | | | Change Rails engine guide to references a maintained project Thredded instead of the abandoned project Forem. I chose Thredded as Forem's closing note (below) suggests the choice. https://github.com/rubysherpas/forem/blob/rails4/README.md
* | Fix typo in I18n Guide [ci skip]Erol Fornoles2017-02-171-1/+1
|/
* document link processing in guides generation [ci skip]Xavier Noria2017-02-121-2/+42
|
* refactors and fixes in guides generation [ci skip]Xavier Noria2017-02-127-162/+124
| | | | | | | | | | | | | | | | | | | | | | | | This commit is not precisely atomic, but the changes have evolved, summary: * The ENV-based interface has been moved upwards, the generator has now a conventional initializer. * RAILS_VERSION is now assumed to be a Git tag. A blank RAILS_VERSION means edge guides. * In consequence, the EDGE env variable is gone. * The "local" version is also gone, the current SHA1 is computed for edge guides. * Assumes guides are generated from a repo checkout (time ago users could generate them from gems.) * The WARNINGS flag is gone in consequence, you cannot disable warnings. * The `api_link` Markdown helper is fixed. * Docs about usage have one single place: rake guides:help. * Links in guides have been revised.
* [ci skip] Fully qualify missing template error.Kasper Timm Hansen2017-02-111-1/+1
| | | | Switch extension 👉 format as it's more apt here.
* Merge pull request #27870 from kenta-s/get-todo-done-in-render_testKasper Timm Hansen2017-02-111-0/+2
|\ | | | | Get TODO done in `render_test`
| * Add information on `:formats` option in action_view_overview.mdkenta-s2017-02-061-0/+2
| |
* | Fix rubocop violationsRafael Mendonça França2017-02-091-11/+11
| |
* | Update configuration guide about ActiveRecord's config option.Stan Lo2017-02-101-0/+5
| |
* | Merge pull request #27954 from maclover7/jm-fix-26404Jon Moss2017-02-091-0/+10
|\ \ | | | | | | Add note about breakage in file uploads in controller tests to upgrading guide
| * | Add note about breakage in file uploads in controller tests to upgradingJon Moss2017-02-091-0/+10
| |/ | | | | | | | | | | | | | | guide ref #26404 [ci skip]
* | Fix wordingJonathan Chen2017-02-091-1/+1
| |
* | remove `ActiveSupport.halt_callback_chains_on_return_false` from everywhereyuuji.yaginuma2017-02-081-2/+0
| |
* | remove link to edgeapi [ci skip]yuuji.yaginuma2017-02-081-1/+1
| |
* | Merge pull request #27232 from robin850/guides-linkingXavier Noria2017-02-072-2/+43
|\ \ | |/ |/| Improve linking inside guides
| * Automatically link to Ruby files referenced in notes [ci skip]Robin Dupret2017-02-071-1/+19
| | | | | | | | | | | | | | | | | | | | To ease reading the "Active Support Core Extensions" guide, let's automatically link references to Ruby files. It's also possible to reference other components' files in the even though it's not used in the guides at the moment. [Petr Skocik & Robin Dupret]
| * Automatically inject the current Rails version in API links [ci skip]Robin Dupret2017-02-072-1/+24
| | | | | | | | | | | | | | To make sure that the user won't look at a feature that doesn't already exist if they are looking at a previous version of the guides, let's automatically inject the Rails version the guides have been generated against.
* | Fix typo in guide: _articles should be _articleMatthew Eagar2017-02-031-1/+1
| | | | | | | | | | | | | | The guide contains a typo in the "local_assigns" section, where rendering a model named 'Article' via `render @articles` is shown to render a partial called `_articles.html.erb`, when in fact the necessary partial name is `_article.html.erb`
* | Added warning for reserved YAML keywords.Rich Seviora2017-01-301-0/+29
|/ | | | | | Update i18n.md Addressed Feedback
* Fix judgement spelling [ci skip]Carlos Gavino2017-01-281-1/+1
| | | | | `judgment` is the preferred form as Rails usually follows en-us spelling not en-gb.
* Bump bug report template versions to 5.0.1Daniel Martin2017-01-265-5/+5
|
* Action Mailer Basics clean up [ci skip]Scott González2017-01-251-2/+2
|
* Clean up wording in Action Mailer Basics [ci skip]Scott González2017-01-211-2/+2
|
* Mention ActiveRecord's config.example.ymlOlivier Lacan2017-01-191-4/+6
| | | | This will help people figure out what credentials and tables are required to run ActiveRecord specs.
* Various style + grammar fixes for #27719Jon Moss2017-01-181-8/+10
| | | | [ci skip]
* update links of pluralization in i18n guideHisashi Kamezawa2017-01-181-1/+1
|
* Update ActionCable guide to better describe SubscriptionAdapter configuration.Chad Ingram2017-01-171-3/+22
|
* allow to pass describe option to rakeyuuji.yaginuma2017-01-171-1/+1
| | | | | | Since `Thor::HELP_MAPPINGS` contains `-D`, so `bin/rails -D` show rails's help. But, in Rails 5.0.1, `bin/rails -D` show the description of rake task. I think that it is better to have the same behavior.
* Revert "Merge pull request #27686 from koic/friendly_bigdecimal_inspect"Kasper Timm Hansen2017-01-151-9/+1
| | | | | | | | | | | | | The exact inspect output of a BigDecimal is out of scope for what we're trying to communicate about `dup` and `duplicable?` here. Adding two examples distracts is disctracting, so keep the docs from before since our minimal version is Ruby 2.2.2. [ Koichi ITO, Jon Moss, Kasper Timm Hansen ] This reverts commit 2163874dedaf83e67599c2930c2686caa165fbad, reversing changes made to 46fdbc5290335ed38fa9fe2b6b0ef8abe4eccb1b.
* Several representation of BigDecimal has changed in Ruby 2.4.0+ [ci skip]Koichi ITO2017-01-151-1/+9
| | | | cf. https://github.com/ruby/bigdecimal/pull/42
* Add duration constructors for use in Numeric extensionsAndrew White2017-01-121-1/+1
| | | | | The Numeric extensions like 1.day, 1.month, etc. shouldn't know how the internals of ActiveSupport::Duration works.
* Merge pull request #27610 from Envek/fix_and_speed_up_duration_parsingAndrew White2017-01-121-1/+1
|\ | | | | Fix inconsistent parsing of Durations with both months and years