Commit Graph

4231 Commits

Author SHA1 Message Date
Arthur Nogueira Neves
5d84ff53cd Merge pull request #23957 from delftswa2016/fix-documentation-stylesheet
Fix value of CSS background-color property in Ruby on Rails guide
2016-02-29 09:56:23 -05:00
Bas van IJzendoorn
8116770c7b Fix typos in Action View Overview guide
This patch fixes some typos in the Action View Overview section of the Rails guide.

[ci skip]
2016-02-29 11:11:23 +01:00
Bas van IJzendoorn
bb7c8df5b0 Fix value of CSS background-color property in Rails guide
Change background-color value to transparent, which is the default value of background-color.

[ci skip]
2016-02-29 11:10:26 +01:00
Prathamesh Sonpatki
e700f8ebfb Fix formatting in Action Cable guide [ci skip] 2016-02-28 20:49:16 +05:30
Prathamesh Sonpatki
4213825a9a Fix merge conflict in Action Cable guide [ci skip] 2016-02-28 20:16:56 +05:30
David Heinemeier Hansson
2b5d784583 Further cleanup of the cable guide 2016-02-28 15:40:27 +01:00
प्रथमेश Sonpatki
4c43a10acc Merge pull request #23943 from y-yagi/remove_rake_word
remove "rake" word [ci skip]
2016-02-28 19:45:35 +05:30
Prathamesh Sonpatki
2ff63580fe Fix typos in Action Cable guide [ci skip] 2016-02-28 19:42:39 +05:30
David Heinemeier Hansson
4eaaced784 Merge pull request #23176 from davidkuhta/patch-1
Guide for Action Cable
2016-02-28 15:05:36 +01:00
yuuji.yaginuma
21da4cba13 remove "rake" word [ci skip] 2016-02-28 21:04:42 +09:00
yuuji.yaginuma
aaf13f8231 use app:update instead of deprecated rails:update [ci skip]
`rails:update` was deprecated in 6fb31638c8b61731103d4963272755b217a2df87
2016-02-28 15:52:56 +09:00
Jon Moss
65b2cfaddd Merge pull request #23933 from HayleyCAnderson/ha-action-cable-docs-fixes
[ci skip] Add small Action Cable documentation fixes
2016-02-27 15:17:11 -05:00
Hayley Anderson
b425a86591 Add small Action Cable documentation fixes
* Fix typos/grammar errors
* Make capitalization/naming consistent
2016-02-27 13:53:31 -05:00
Arthur Neves
3174b5f92a Update docs to point to new update task.
This guides were pointing to this command `rails app:update`, which I
tried to run, but it didnt worked. I think the right command is `rails
rails:update` instead. Also thats the name of the rake task.

Also I removed the `Rake` word from the title, as we run it using
`rails` bin now.

cc @kaspth
[skip ci]
2016-02-27 12:32:03 -05:00
Kasper Timm Hansen
6fb31638c8 Merge pull request #23439 from ryohashimoto/160203_rake_rails
Use app namespace for framework tasks
2016-02-27 15:14:56 +01:00
Kuldeep Aggarwal
3edab2a56b [ci skip]Add info for specifying logger in different envrionments.
refer 2dc3e81aea8dbc, 56ca2061df83a3
2016-02-27 14:52:36 +05:30
Ryo Hashimoto
eaec958630 The tasks in the rails task namespace is deprecated in favor of app namespace.
(e.g. `rails:update` and `rails:template` tasks is renamed to `app:update` and `app:template`.)
2016-02-26 19:35:23 +09:00
प्रथमेश Sonpatki
56ca2061df Merge pull request #23902 from prajakta-tambe/update-debuggings-rails-app-doc
Changed debugging rails app doc.
2016-02-26 15:36:49 +05:30
prajakta
2dc3e81aea - Changed Debugging Rails Applications doc's logger introduction section. Changed location for specifying logger.
[Prajakta, thiagoaugusto]
2016-02-26 15:22:39 +05:30
claudiob
569dc54a15 Doc: update AC::Parameters guides for Rails 5
[ci skip]
2016-02-25 08:22:30 -08:00
claudiob
d57fa1fbf3 Doc: update routes guides for Rails 5
[ci skip]
2016-02-25 08:20:15 -08:00
Andrew White
2fda4e0874 Merge pull request #23874 from st0012/update-documents
[ci skip] Update configuration guide
2016-02-25 13:54:01 +00:00
Kasper Timm Hansen
46cb45df48 Additional review of 6b31761.
* Fixes typos in error message and release notes.
* Removes unused template test file.
2016-02-25 11:13:42 +01:00
Godfrey Chan
73b1efc58f Lock down new ImplicitRender behavior for 5.0 RC
1. Conceptually revert #20276

   The feature was implemented for the `responders` gem. In the end,
   they did not need that feature, and have found a better fix (see
   plataformatec/responders#131).

   `ImplicitRender` is the place where Rails specifies our default
   policies for the case where the user did not explicitly tell us
   what to render, essentially describing a set of heuristics. If
   the gem (or the user) knows exactly what they want, they could
   just perform the correct `render` to avoid falling through to
   here, as `responders` did (the user called `respond_with`).

   Reverting the patch allows us to avoid exploding the complexity
   and defining “the fallback for a fallback” policies.

2. `respond_to` and templates are considered exhaustive enumerations

   If the user specified a list of formats/variants in a `respond_to`
   block, anything that is not explicitly included should result
   in an `UnknownFormat` error (which is then caught upstream to
   mean “406 Not Acceptable” by default). This is already how it
   works before this commit.

   Same goes for templates – if the user defined a set of templates
   (usually in the file system), that set is now considered exhaustive,
   which means that “missing” templates are considered `UnknownFormat`
   errors (406).

3. To keep API endpoints simple, the implicit render behavior for
   actions with no templates defined at all (regardless of formats,
   locales, variants, etc) are defaulted to “204 No Content”. This
   is a strictly narrower version of the feature landed in #19036 and
   #19377.

4. To avoid confusion when interacting in the browser, these actions
   will raise an `UnknownFormat` error for “interactive” requests
   instead. (The precise definition of “interactive” requests might
   change – the spirit here is to give helpful messages and avoid
   confusions.)

Closes #20666, #23062, #23077, #23564

[Godfrey Chan, Jon Moss, Kasper Timm Hansen, Mike Clark, Matthew Draper]
2016-02-25 01:19:49 -08:00
Stan Lo
d0c8117ced Add config.debug_exception_response_format into configuration guide 2016-02-25 13:45:09 +08:00
Stan Lo
4e82346756 Update config.force_ssl's documentation 2016-02-25 13:41:09 +08:00
Jon Moss
8b69f1eeba Enable Action Cable routes by default
This also marks Action Cable routes as internal to Rails.
2016-02-24 19:05:03 -05:00
Akshay
afea912a75 [ci skip] Need to mention debug_exception_response_format in the api_app documentation.
- #23771 removed the reference to debug_exception_response_format from the api_app documentation.
- We need to let users know, they have ability to configure debug_exception_response_format in their development environment.
- Added documentation for the same in api_app.md file
- Grammar corrections
2016-02-25 05:03:21 +05:30
Chashmeet Singh
861b98def8 Updated file documentation [ci skip] 2016-02-24 23:13:43 +05:30
Rafael França
edbab4e4f5 Merge pull request #23860 from zerothabhishek/weak-etag-guide
Changes caching guide to add note on weak etags
2016-02-24 14:23:41 -03:00
Abhishek Yadav
a6f8526ee6 changes caching guide to add note on weak etags 2016-02-24 22:48:28 +05:30
Rafael França
38b2f527d0 Merge pull request #23857 from st0012/update-documents
[ci skip] Update guide sources for mailer view caching feature
2016-02-24 14:00:20 -03:00
Stan Lo
5a2d7a1967 Fix wording and wrong reference 2016-02-25 00:53:38 +08:00
Stan Lo
569cb157e7 Fix ActionView's cache section reference 2016-02-25 00:39:04 +08:00
Stan Lo
f7ce370e60 Add caching guide in ActionMailer basics 2016-02-25 00:36:41 +08:00
Stan Lo
bebd9086c8 Add ActionMailer configuration options 2016-02-25 00:17:05 +08:00
eileencodes
dbfa8fdfc2 Preparing for 5.0.0.beta3 release
Adds changelog headers for beta3 release
2016-02-24 11:14:40 -05:00
Stan Lo
ec50f9239b Update 5.0 release notes 2016-02-25 00:07:20 +08:00
David Heinemeier Hansson
ef06afe29a Merge pull request #23795 from claudiob/replace-rack-with-rails-command
AppGenerator: Replace 'rake' with 'rails_command'
2016-02-24 12:09:17 +01:00
David Kuhta
6b515171a8 Header Typo 2016-02-23 21:36:37 -06:00
David Kuhta
f04874f31c stream_for example 2016-02-23 21:05:46 -06:00
Rafael França
8b794c9f1f Merge pull request #23836 from sstephenson/turbolinks-5
Turbolinks 5 compatibility changes
2016-02-23 23:55:56 -03:00
David Kuhta
a946f3930b Explicitly denote that channel.rb is a default file. 2016-02-23 20:35:53 -06:00
David Kuhta
e39d8dd506 Change ActionCable.server.broadcast to XChannel.broadcast_to
Using broadcast directly off server is not recommended
2016-02-23 20:21:05 -06:00
Michael Groeneman
43edcc6c8f [ci skip] No hyphen in 'side effects' 2016-02-23 16:29:42 -08:00
Michael Groeneman
3ea7d02ee6 [ci skip] Fix typo in Form Helpers Guide 2016-02-23 16:05:27 -08:00
Sam Stephenson
2f792616ab Update JavaScript guide for Turbolinks 5 2016-02-23 17:56:42 -06:00
Sam Stephenson
7225f0bb9f Switch to data-turbolinks-track="reload" 2016-02-23 17:55:32 -06:00
Tara Scherner de la Fuente
640ef22b67 update assert_nothing_raised in testing.md 2016-02-22 22:56:23 -08:00
Scott Ringwelski
5d87bb4da8 Add a note about downcasing submit tag
This is a notable change since this will cause confusing test failures for tests relying on the old naming scheme.
2016-02-21 16:05:39 -08:00