Roque Pinel
e08232cda2
Fixes for the strong & weak ETags guide [ci skip]
2016-04-07 23:18:50 -04:00
Rafael França
659b104a00
Merge pull request #24444 from prathamesh-sonpatki/update-message-proc-documentation
...
Update example of passing a proc to `:message` option for validating records [ci skip]
2016-04-06 01:01:50 -03:00
Prathamesh Sonpatki
7f1fc1ee09
Update example of passing a proc to :message
option for validating records [ci skip]
...
- This change is made as the behavior for `:message` proc was changed in
https://github.com/rails/rails/pull/24119 .
- Also check
https://github.com/rails/rails/pull/24431#issuecomment-206106790 for
reference.
2016-04-06 09:29:01 +05:30
Rafael França
54ce28017c
Fix Active Model basics introduction to indicate it only introduces us to integration and not complete i18n framework.
...
Fix Active Model basics introduction [ci skip]
2016-04-06 00:55:49 -03:00
Eileen M. Uchitelle
106851c445
Merge pull request #24419 from rgm/master
...
Extend `ActionController::TestCase` deprecation warning
2016-04-05 08:07:53 -04:00
प्रथमेश Sonpatki
3108e0809f
Merge pull request #24410 from mechanicles/strong-weak-etags-info
...
Update documentation based on the new changes for strong & weak ETags.
2016-04-05 15:30:03 +05:30
Santosh Wadghule
0287e1fccb
Update documentation based on the new changes for strong & weak ETags [ci skip]
...
- Update info for weak ETag
- Add info for strong ETag
- Add examples for strong and weak ETags
- Display difference between generated strong and weak ETags strings.
2016-04-05 15:28:28 +05:30
Vipul A M
1ed86d2738
Fix Active Model basics introduction to indicate it only introduces us to integration and not complete i18n framework.
...
[ci skip]
2016-04-05 13:25:24 +05:30
Vipul A M
c1c6c3878e
Guides changes, follow up of #24401
...
[ci skip]
2016-04-05 11:42:07 +05:30
Ryan McCuaig
58c12900b7
it's => its typo
2016-04-04 19:13:57 -07:00
Arthur Vieira
723a7c8ef4
[ci skip] Fix variable name
2016-04-04 18:17:04 -03:00
Kasper Timm Hansen
7199301a7b
Merge pull request #24406 from prathamesh-sonpatki/update-release-notes
...
Update Rails 5.0 release notes
2016-04-03 22:06:54 +02:00
Vijay Dev
bdcacc8566
Merge branch 'master' of github.com:rails/docrails
2016-04-03 16:51:27 +00:00
Prathamesh Sonpatki
7d88ca6ee5
Update Rails 5 release notes [ci skip]
...
- Removed entry for # Template Collection from release notes.
- Remove duplicate entry for caching Action mailer views.
- Remove duplicate entry for left_outer_joins.
2016-04-03 22:18:14 +05:30
yuuji.yaginuma
ef6699b6ca
remove deprecated datetime_field
from guide [ci skip]
...
`datetime_field` was deprecated in 316811b4d3f4e5a1a7bcd03de97c67218770e333
2016-04-03 07:57:50 +09:00
Javier Vidal
14ba215375
Fixes broken link in 'Ruby on Rails 2.2 Release Notes' [ci skip]
2016-04-01 09:29:26 +02:00
Andrew Babichev
02ead6437e
[ci skip] Parameter filter performs regular expression partial matching
2016-03-31 18:15:44 +03:00
Vipul A M
fc959d6efd
s/documention/documentation/
...
[ci skip]
2016-03-29 18:58:10 +05:30
Sammy Larbi
53db086e60
Update how to clear the association cache
...
Passing `true` to the association has been deprecated.
2016-03-28 09:03:02 -05:00
Arkadiusz Fal
ee640a1f75
[skip ci] Update numericality
validation docs
...
Add `:other_than` option documentation.
2016-03-28 12:22:46 +02:00
Mohamad Abras
8eca8d5808
remove old-dead link
2016-03-27 09:19:56 +00:00
Laura Murphy-Clarkin
2657ec8973
Correct typos in "Active Record Query Interface" guide
2016-03-25 12:27:06 +00:00
Vijay Kumar Agrawal
e6aaa8570a
[ci skip] Added missing custom context validation
2016-03-24 19:56:04 +05:30
Olivier Lacan
a2df57c991
Remove reference to unmaintained plugin/gem
...
[restful-authentication](https://rubygems.org/gems/restful-authentication/versions/1.2.1 ) hasn't been updated since
September 6th, 2012 so it might not be a great idea to recommend that Rails users try it out.
Devise seems like a much more popular and secure solution that automatically resets sessions on sign in and out
so it's a great example in this case.
/cc @tenderlove @josevalim
2016-03-23 11:21:32 +01:00
Vipul A M
6025714146
s/responsibilty/responsibility/
...
s/symantically/semantically/
[ci skip]
2016-03-22 20:03:27 +05:30
Vipul A M
5007963e18
- Fixed abrupt start of sentence in changelog
...
[ci skip]
2016-03-22 19:47:42 +05:30
Yves Senn
2346c7f281
guides, sync 5.0 release notes with changelogs
...
[ci skip]
Sync AV, AR, AJ, AS, AM changelogs with our 5.0 release notes draft.
This is a follow up to c94045d and contains changes made since the
release of beta1.
2016-03-22 14:45:17 +01:00
Yves Senn
c94045dc1c
guides, sync railties and AP changelogs with 5.0 release notes.
...
[ci skip]
This updates the 5.0 release notes guide to reflect changes that
happened after beta1 has been released.
I'll sync the other changelogs later today but I'll push this batch to
prevent against cumbersome merge conflicts.
2016-03-22 12:12:39 +01:00
yuuji.yaginuma
fb1163949a
update Active Job default adapter [ci skip]
...
Follow up to 625baa69d14881ac49ba2e5c7d9cac4b222d7022
2016-03-22 07:45:10 +09:00
Scott Bronson
bcad7cebd4
remove Rails 4 text from asset pipeline guide
2016-03-18 16:19:25 -07:00
schneems
61174c9cea
Document and Match the Rails logger interface
...
The logger interface to get all Rails features is not obvious. This change adds documentation on how to assign a logger that will use all Rails features.
We are also matching the stdout logging interface to the default logger in bootstrap f5a5988352/railties/lib/rails/application/bootstrap.rb (L42-L45)
.
2016-03-16 10:34:28 -05:00
Sandeep Navghane
3c688c737b
Update action_controller_overview.md
2016-03-15 13:49:40 +05:30
Aaron Ang
798dc5a925
Remove log-related stuff from ActiveSupport::Dependencies
...
In this patch, all log-related stuff in `ActiveSupport::Dependencies`
is removed because the logging is no longer useful.
2016-03-15 00:54:48 +01:00
Wiehann
36ea7bcc70
Correct command for generating secret_key_base [ci skip]
2016-03-14 17:00:00 +02:00
yuuji.yaginuma
272058b4dc
add queue_classic
to list of provide provider_job_id
[ci skip]
2016-03-14 19:10:09 +09:00
yuuji.yaginuma
0c85ff33b1
add headers to payload list [ci skip]
...
Follow up to #24115 .
2016-03-13 09:40:38 +09:00
Chris Arcand
5147ab121d
Clarify has_many :dependent option docs [ci skip]
...
Clarifies the documentation here to mean all options are for when the
relation is destroyed; also now reflects the documentation on this same
option found in the has_one section.
2016-03-11 16:07:09 -05:00
Greg Molnar
71a3e6634c
remove obsolete i18n links from guides [ci skip]
2016-03-10 17:01:03 +01:00
Ryuta Kamizono
7fc10468b6
Remove needless break;
[ci skip]
2016-03-10 18:09:01 +09:00
Santosh Wadghule
4300213c01
Remove extra 'the' and unwanted comma [ci skip]
2016-03-08 15:40:29 +05:30
Jon Moss
7c94db1370
Remove incorrect Rack documentation example
...
`Sprockets` does not respond to the call method, so I changed the
example to use a fake `MyRackApp`.
Closes #22579 .
[ci skip]
2016-03-07 12:47:08 -05:00
Vijay Dev
598816f630
Merge branch 'master' of github.com:rails/docrails
...
Conflicts:
guides/source/association_basics.md
2016-03-06 06:58:36 +00:00
yuuji.yaginuma
b6618c6cee
remove entry for reverted commit [ci skip]
...
Follow up to ddf4c953ae8d10489e0bfd6008bd76395f6e1267
2016-03-06 11:17:12 +09:00
Rafael Mendonça França
403c57aec0
Update the rendering guide to match the current behavior
...
In the latest security releases render with a trailing slash no more call
render :file.
Also add a note about the security implications of using it with user
parameters.
2016-03-05 20:07:27 -03:00
yuuji.yaginuma
722227a6f6
remove config that are no longer needed in sprockets-rails 3
...
`config.assets.raise_runtime_errors` and `config.assets.digest` are enabled
by default in sprockets-rails 3.
2016-03-05 12:14:48 +09:00
Sam Ruby
56ed162bf3
Match Puma 3 startup messages [ci skip]
2016-03-04 16:38:34 -05:00
Michael Ryan
3de932281a
Fix author callback in engines guide [ci skip]
...
The `before_save` callback used with `set_author` results in the
validation error "Author must exist," due to the change in `belongs_to`
behavior introduced by #18937 .
Use `before_validation` instead.
2016-03-04 12:37:05 -05:00
Jon Moss
8e9a1a62d3
Merge pull request #24021 from y-yagi/add_scaffold_stylesheet_to_guide
...
add `scaffold_stylesheet` method to guide [ci skip]
2016-03-03 19:29:07 -05:00
yuuji.yaginuma
40dcb477cc
add scaffold_stylesheet
method to guide [ci skip]
...
`scaffold_stylesheet` was added in #20479 .
2016-03-04 09:14:00 +09:00
Kasper Timm Hansen
2ef8a0e2b8
[ci skip] Make collection caching explicit in guides.
...
Since f6e4814 was written we've made collection caching explicit.
Thus the documentation is outdated and needs a rewrite.
2016-03-03 20:53:49 +01:00