Commit Graph

4969 Commits

Author SHA1 Message Date
Akira Matsuda d414881a34 We always + 1 to __LINE__ when class_evaling with <<
[ci skip]
2017-05-22 08:44:42 +09:00
Robin Dupret e96c7f2775 Merge pull request #29173 from ffmike/simplify-getting-started
Simplify handling of prerequisites in Getting Started guide [ci skip]
2017-05-21 21:57:59 +02:00
Robin Dupret 0cbb130cf5 Merge pull request #29072 from dixpac/dixpac/add_documentation_for_validate_and_callback_order_of_execution
Improving docs for callbacks execution order [ci skip]
2017-05-21 21:34:47 +02:00
Mike Gunderloy 65cc7b228d
Simplify handling of prerequisites in Getting Started guide [ci skip]
Telling people about prerequisites, and then telling them a page later
how to check and install those prerequisites, is confusing. This commit
removes the list and just handles the software installation in one
place.

Fixes #28565
2017-05-21 13:06:33 -05:00
dixpac 4f39556577 Improving docs for callbacks execution order [ci skip]
When define callbacks latest definition on the same callback/method
overwrites previous ones.
2017-05-21 18:45:59 +02:00
Kasper Timm Hansen 90b2318ec2 Merge pull request #29170 from ffmike/remove-obsolete-guides
Remove obsolete Guides source files [ci skip]
2017-05-21 17:19:07 +02:00
Mike Gunderloy 1a5d93999f
Remove obsolete Guides source files [ci skip]
* Nested Model Forms guide is out of date, not linked from index,
  and material is covered in the Form Helpers guide.
* Profiling guide was committed as an outline years ago
  and never actually written.
2017-05-21 10:00:20 -05:00
Mike Gunderloy d23fb68e3d
Fix broken external link in security guide. 2017-05-21 08:56:24 -05:00
Kevin Kim 3508909dc8 Fix typo in guides 2017-05-21 02:29:09 -07:00
Mike Gunderloy 99209b4ec0
Update 'Rails on Rack' guide [ci skip]
* Adjust middlewares list to match current defaults
* application.routes runs on application object, not Rails
* Add explanation of Sprockets::Rails::QuietAssets
2017-05-20 09:51:43 -05:00
Mike Gunderloy 062e5f2b06
Add :json type to auto_discovery_link_tag
This allows auto_discovery_link_tag to support the JSON Feed standard.
See https://jsonfeed.org/version/1 for more information.
2017-05-20 04:00:13 -05:00
Jon Moss 3f90e9e36f Merge pull request #29020 from stevenchanin/master
[ci skip] explain async queue and rake tasks
2017-05-18 18:04:45 -04:00
Andrew White ff55c6ef80 Merge pull request #29056 from juliusdelta/29055-missing-links-in-activesupport-railsguide
Added fixed links to code for Rails Guides ActiveSupport
2017-05-16 14:23:35 +01:00
Xavier Noria d48008f164 explain why guide translations need a fork [ci skip] 2017-05-14 21:29:34 +02:00
eileencodes 46adb59b34 Clarify documentation for system test arguments
Previously this implied that system tests provided other non-headless
drivers when Selenium is the only driver that uses `:using`,
`:screen_size` or `:options` arguments.

This change clarifies that Selenium is the only non-headless driver.
2017-05-14 09:03:46 -04:00
eileencodes c4c48b0d2a Use a more realistic use-case for system test generator
It's more likely you'll generate a test for testing users than a users
creates test. This is a better example of a real world test.
Additionally the users create view is unlikely to have the text
"UserCreates" since that is likely generated as well. This is now an
example of visiting the users index.
2017-05-14 09:03:33 -04:00
JD Gonzales e37283b52e Old expression caught to many chars resulting in 404. Added minor change to resolve 2017-05-12 22:54:11 -05:00
Cody Boyko b373d84fb2 [ci skip] Mailer fixtures in Testing guide.
Update guide to clarify that mailer fixtures are not created when
using the mailer generator.
2017-05-12 20:13:18 +00:00
Koichi ITO bff2ef921f Fix a typo in guide [ci skip] 2017-05-11 13:35:01 +09:00
Steven Chanin de499d6775 remove the phrase as well
[ci skip]
2017-05-09 17:20:37 -07:00
Steven Chanin b9d7bd4768 Capitalize Rake 2017-05-09 17:18:16 -07:00
Steven Chanin 9b28a2ff4a [ci skip] explain async queue and rake tasks
[ci skip]
2017-05-09 09:40:20 -07:00
Matthew Draper 3f4eeb6dba Merge pull request #28240 from kreintjes/fix/autoloading-sti-guide
Correct Autoloading and STI guide (issue #26994)
2017-05-09 01:10:41 +09:30
yuuji.yaginuma d25eeb8557 Fix link to `assert_nothing_raised` doc [ci skip]
The `assert_nothing_raised` was moved to `ActiveSupport::Testing::Assertions` in 3cece0b657.
2017-05-08 21:55:38 +09:00
Ryuta Kamizono b201474756 Should escape meta characters in regexp 2017-05-07 04:10:00 +09:00
Rafael França 97f7575fde Merge pull request #28337 from riseshia/patch-1
Fix to use correct path with language on guide
2017-05-03 21:04:03 -07:00
Shia 66cd83d9b9 Use target language's document.yaml [ci skip]
Let me build guide with "ko" language,
    
    Before:
    - It try to use guides/source/documents.yaml
    
    After:
    - It try to use guides/source/ko/documents.yaml
2017-05-04 12:47:05 +09:00
Bart 19a76b8749 Rails secrets is not built on but inspired by Sekrets
Put wording in line with http://weblog.rubyonrails.org/2017/4/27/Rails-5-1-final/
2017-05-02 10:17:08 -04:00
Alex Kitchens 99c34f269e Update the Gem Bug Report Templates to 5.1.0
5.1.0 has been released, and the gem templates can reflect that now.
2017-05-01 07:48:11 -05:00
yuuji.yaginuma 06dfda12ae Fix note about `secrets.yml` [ci skip]
The `secrets` method is in `Application` class, not `Configuration` class.
2017-04-30 16:34:12 +09:00
yuuji.yaginuma df6aef2518 Remove entries included in 5.0 [ci skip]
* `Permit same-origin connections by default` was backported in db70978, 549d732.
* `Deprecated `:controller` and `:action` path parameters` was included in 6520ea5.
* `Exception handling: use `rescue_from` was included in 6b54316.
2017-04-29 13:39:47 +09:00
claudiob a9e5457d8c 5.1 Release Notes are complete [ci skip]
@prathamesh-sonpatki added the last missing commits in #28911.
2017-04-28 06:10:58 -07:00
Jon Moss 7902c01d1f Small grammar fix
[ci skip]
2017-04-27 21:28:45 -04:00
Jon Moss 8d79eed3e9 Small grammar fix
[ci skip]
2017-04-27 18:28:01 -04:00
Jon Moss 1005c42a65 Small grammar fixes
Will backport to 5-1-stable, since the original PR landed there.

[ci skip]
2017-04-27 18:22:21 -04:00
Prathamesh Sonpatki 4c18f050b6
Fix indentation [ci skip] 2017-04-27 14:25:12 -07:00
Prathamesh Sonpatki 2c691f55ad
Added some more release notes for Active Record [ci skip] 2017-04-27 14:18:15 -07:00
Rafael Mendonça França 6a3cb7a206
Merge pull request #28904 from robin850/update-working-with-javascript
Update the "Working with javascript" guide
2017-04-27 11:34:33 -07:00
Robin Dupret 7bf580c89e Add documentation of data attributes for UJS [ci skip] 2017-04-27 18:12:02 +02:00
Robin Dupret 1cbf4b1719 Nest Action View remote helpers one level deeper [ci skip] 2017-04-27 15:13:24 +02:00
Robin Dupret 6ceb7ce162 Add a section with the different Ajax events [ci skip] 2017-04-27 15:11:36 +02:00
Robin Dupret ef291d997d Update the JavaScript guide to use `form_with`
`form_with` is the new preferred method to deal with generation of
HTML forms and it enables Ajax support by default.

[ci skip]
2017-04-27 14:50:27 +02:00
Jon Moss f52cdaac63 Pluralize methods
[ci skip]
2017-04-26 20:14:08 -04:00
claudiob 5b51551821 More release notes for Rails 5.1 [ci skip]
@dhh most changes that I mentioned in the talk were already there:
https://speakerdeck.com/claudiob/rails-5-dot-1-upcoming-features

I just added a few that were missing.
2017-04-26 16:46:32 -07:00
Robin Dupret 377a079589 Add some items to the release notes [ci skip] 2017-04-27 00:48:44 +02:00
Robin Dupret 80c58a8d90 Some improvements in the 5.1 release notes [ci skip] 2017-04-27 00:04:08 +02:00
Akira Matsuda b6ac50b3ee s/broadcasing/broadcasting/
[ci skip]
2017-04-27 01:57:03 +09:00
Matthew Draper deba47799f Describe the changes in transactional tests 2017-04-25 17:47:44 -07:00
Jon Moss c2e3e0d209 Add missing `action_view` section of config flag
[ci skip]
2017-04-24 19:06:31 -04:00
Vipul A M f42126ab51 Merge pull request #28861 from koic/unify_names_of_github
Unify the name of GitHub [ci skip]
2017-04-25 04:16:26 +05:30