Commit Graph

4451 Commits

Author SHA1 Message Date
Richard Schneeman
154f11663e Merge pull request #25315 from schneems/schneems/inclusion-doc
[ci skip] Expand information on message options
2016-06-08 15:08:32 -05:00
schneems
05b7c415c8 [ci skip] Expand information on message options
Link to the more detailed message documentation when using a message option in validations.
2016-06-08 08:59:51 -05:00
Xavier Noria
b24b9e2751 Merge pull request #25327 from prathamesh-sonpatki/add-5-0-notes-to-the-index
Add Rails 5.0 release notes to the index page of guides [ci skip]
2016-06-08 06:47:16 -07:00
Prathamesh Sonpatki
928707fd50
Add Rails 5.0 release notes to the index page of guides [ci skip]
- It is also marked as WIP as we are still refining it.
2016-06-08 06:31:50 -07:00
David Heinemeier Hansson
84c90bbdfc Merge pull request #25323 from vipulnsward/ac-release-notes
Add Action Cable introduction to release notes
2016-06-08 14:09:53 +02:00
Vipul A M
f0b9ebc43b
Add Action Cable introduction to release notes [ci skip] 2016-06-07 16:27:50 -07:00
Jonne Haß
5e3fb2f7b0
Do not suggest nonsensical OpenSSL verify modes [ci skip]
SSL_set_verify(3) explains:

SSL_VERIFY_FAIL_IF_NO_PEER_CERT
  Server mode: if the client did not return a certificate, the TLS/SSL
handshake is immediately terminated with a "handshake failure" alert.
This flag must
  be used together with SSL_VERIFY_PEER.

  Client mode: ignored

SSL_VERIFY_CLIENT_ONCE
  Server mode: only request a client certificate on the initial TLS/SSL
handshake. Do not ask for a client certificate again in case of a
renegotiation.
  This flag must be used together with SSL_VERIFY_PEER.

  Client mode: ignored

The SMTP connection here uses a OpenSSL socket in client mode,
suggesting invalid/ignored flags is rather misleading.
2016-06-07 15:50:46 +02:00
David Heinemeier Hansson
3da81f89ab Merge pull request #25279 from maclover7/jm-add-backticks-1
Add backticks to `ActiveRecord::Base.where`
2016-06-06 18:59:25 +02:00
Alex Kitchens
63884a1e35 [ci skip] Update redirecting links in guides 2016-06-06 08:32:59 -05:00
Vipul A M
95ef0be951 Merge pull request #24071 from meinac/configuring_md_docs
Added some useful configuration options into configuring.md [ci skip]
2016-06-05 10:30:47 -07:00
Jon Moss
d2a69d319b
Add backticks to ActiveRecord::Base.where
[ci skip]
2016-06-04 11:11:42 -04:00
Jon Moss
d6d2fcb42d Merge pull request #25278 from mechanicles/fix-link
[ci skip] Fix link rubyonrails.org/core => http://rubyonrails.org/community
2016-06-04 10:46:41 -04:00
Santosh Wadghule
df0bfad26d [ci skip] Fix link rubyonrails.org/core => http://rubyonrails.org/community. 2016-06-04 20:13:30 +05:30
Jon Moss
bb6dc16424 Merge pull request #25277 from mechanicles/remove-pratik-from-core
[ci skip] Remove Pratik Naik from Rails core team info.
2016-06-04 10:41:00 -04:00
Santosh Wadghule
2ef1cd7837 [ci skip] Remove Pratik Naik from Rails core team info. 2016-06-04 19:59:55 +05:30
Vijay Dev
4e85538ddd Merge branch 'master' of github.com:rails/docrails
Conflicts:
	guides/source/action_cable_overview.md
2016-06-03 14:00:47 +00:00
Alex Kitchens
e98caf81fe [skip ci] Make header bullets consistent in engines.md 2016-06-02 21:26:53 -05:00
Antonio Felguerez
5413d40318 add missing "as"
it reads a bit awkwardly without it.
2016-06-02 11:16:31 -04:00
Jon Moss
cf2158cbbf
Grammar fixes for Contributing guide
Not sure why #25239, but it had good changes, so I'm manually pulling in
the changes.

[Jon Moss, Rajat Bansal]

[ci skip]
2016-06-02 09:35:52 -04:00
Jon Moss
f832ebf496
will be --> is
[ci skip]
2016-05-31 10:47:34 -04:00
willnet
5693e54287 [ci skip]Fix wrong require path raising LoadError 2016-05-29 23:22:53 +09:00
yuuji.yaginuma
fda13d51ac rename enum_prefix and enum_suffix options to _prefix and _suffix [ci skip]
`:enum_prefix` and `:enum_suffix` was changed to `:_prefix` and `:_suffix`
in #20999.
2016-05-29 20:59:08 +09:00
Jon Moss
350b7b6162
Light edits to Action Cable Overview guide
[ci skip]
2016-05-28 16:40:10 -04:00
yuuji.yaginuma
5e87e1faf6 fix incorrect class name [ci skip] 2016-05-28 15:08:47 +09:00
Ryuta Kamizono
997fd4d024 Use add_index instead of execute in guides [ci skip] 2016-05-28 14:26:30 +09:00
Mateusz Konieczny
1d91d4cd71 cometic updates to security guide - fixes #25058 [ci skip] 2016-05-27 20:42:26 +02:00
willnet
875ef00bda [ci skip] Fix ActionCable Guides
Default worker pool size was changed from 100 to 4 at #24376
2016-05-27 16:43:56 +09:00
Jared Beck
f95fe79f27 Docs: Clarify when assoc. methods persist
Because I can never remember if `collection_singular_ids=` persists
or not (it does).

[ci skip]
2016-05-26 17:05:32 -04:00
Xavier Noria
28a7c98fe6 autoloading guide: specify autoload paths are set when the app boots [ci skip] 2016-05-26 07:42:31 +02:00
Vipul A M
1c030578d6
- ✂️ space in code to match previous defaults.
- Grammar edits.
2016-05-23 18:51:52 -07:00
yuuji.yaginuma
3c1c9fdf4e remove deprecated Module#qualified_const_ from guide [ci skip]
Follow up to #17845.
2016-05-23 13:21:26 +09:00
Prathamesh Sonpatki
983fa3b29f
Update i18n guide about how to change locale and translations paths [ci skip]
- config/application.rb no longer has comments about how to specify load paths
  or change default locale after
  https://github.com/rails/rails/commit/28dcadc0140dfdeb.
2016-05-22 21:44:31 +08:00
Jon Moss
9c0791b045
Small grammar fixes for Action Controller Overview
[ci skip]
2016-05-21 11:16:52 -04:00
Junya Ogura
3c557cb333 Use #distinct instead of #uniq in the guides [ci skip] (#25098)
* #uniq will be deprecated, see: rails/rails@adfab2d
2016-05-21 11:06:34 -03:00
प्रथमेश Sonpatki
694cbbf801 Merge pull request #25092 from y-yagi/add_23980_to_release_notes
add #23980 to release notes [ci skip]
2016-05-21 14:04:06 +08:00
yuuji.yaginuma
99ee8f87fe add #23980 to release notes [ci skip] 2016-05-21 14:05:35 +09:00
yuuji.yaginuma
df3d97d075 fix module name [ci skip] 2016-05-20 20:16:17 +09:00
Jeremy Daer
89e2f7e722
Support for unified Integer class in Ruby 2.4+
Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005

* Forward compat with new unified Integer class in Ruby 2.4+.
* Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3.
* Drops needless Fixnum distinction in docs, preferring Integer.
2016-05-18 21:58:51 -07:00
Jon Moss
578ae253df
Light grammar edits to beginning of Routing guide
[ci skip]
2016-05-18 09:07:01 -04:00
Jon Moss
73874a163f
Add tick marks + small grammar change
[ci skip]
2016-05-17 22:46:07 -04:00
Jon Moss
7e803d8b41 Merge pull request #25052 from matkoniecz/2008_is_not_recent
update to make it less obvious that this guide is from 2008/2009
2016-05-17 14:51:38 -04:00
Mateusz Konieczny
17f04e446a Safari 4 supports http only cookie (#25053)
* Update documentation about Safari 4 supporting http only cookie

- Source: www.greebo.net/2009/06/09/httponly-in-safari-40-release/ via http://stackoverflow.com/questions/528405/which-browsers-do-support-httponly-cookies
2016-05-17 23:37:35 +05:30
Jon Moss
c756372b3b Merge pull request #25039 from maclover7/jm-capitalization-2
Fix security guide capitalization errors
2016-05-17 10:06:57 -04:00
Mateusz Konieczny
0966738763 update to make it less obvious that this guide is from 2008/2009
malicious ads are neither new nor unusual
live HTTP headers project is dead - see https://www.mozdev.org/bugs/show_bug.cgi?id=25944
2016-05-17 13:26:20 +02:00
Vipul A M
1e791705dc Add Attributes API to release notes [ci skip]
Add Attributes API to release notes [ci skip]
2016-05-17 03:09:30 +05:30
Jon Moss
748b710805 Fix security guide capitalization errors
Would have submitted to docrails, but this guide was just changed today,
and docrails doesn't have the most updated version 😬

cc @vipulnsward

[ci skip]
2016-05-16 17:31:05 -04:00
Vipul A M
8bd0d347f1
PerRequestDigestCacheExpiry middlware was been removed. Removed traces, for the same.
23b6a9c0fc

[ci skip]
2016-05-17 02:47:37 +05:30
Jon Moss
07ba8a4f6a Merge pull request #25036 from maclover7/jm-capitalization
`md5` --> `MD5`
2016-05-16 17:02:50 -04:00
Jon Moss
303dac30c2
md5 --> MD5
[ci skip]
2016-05-16 15:51:05 -04:00
Ralin Chimev
f27325d7e5 Update the Rails security guide
Bring up-to-date the information about the session id in the
Sessions section. The guide currently says that the session
id is a md5 hash while the implementation uses a random hex
string.

Fixes #25032.

[ci skip]
2016-05-16 22:03:21 +03:00