Commit Graph

4067 Commits

Author SHA1 Message Date
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
claudiob
1a5941e3cf AppGenerator: Replace 'rake' with 'rails_command'
Since Rails 5.0 is switching the Rails command line from 'rake …'
to 'rails …', it makes sense to also replace the `rake` method in
the Rails templates API.

Based on feedback from @matthewd and @kaspth, I chose to replace
`rake` with `rails_command`, which is less confusing than
the alternatives `rails` or `command` or `rails_run` and is not
Thor-reserved word like `task`.
2016-02-20 10:01:55 -08:00
yuuji.yaginuma
9ceb0ea8d9 remove needless debug_exception_response_format config [ci skip]
Since a0343d11f1bf80a79e273c1d0cf9934ef2601e98, `debug_exception_response_format` config depends on `api_only`.
Therefore, if set the `api_only`, need to specify `debug_exception_response_format` is not.
2016-02-19 12:37:09 +09:00
Xavier Noria
042bfb8715 partial pass over the API guide [ci skip] 2016-02-18 23:29:29 +01:00
kamal namdeo
6890043f4c [ci skip] fix suggested change-replace 'an' with 'the in Rails engine guide' 2016-02-18 20:48:19 +05:30
kamal namdeo
dd898fe6a0 Fix the language in engines guide 2016-02-18 13:23:07 +05:30
Prathamesh Sonpatki
e0b401feeb Add Action Cable CHANGELOG in release notes [ci skip] 2016-02-17 12:03:10 +05:30
Chirag Aggarwal
613bda5ad7 [ci skip] Updating edge rails guides to include on_weekday? on Date, Time and DateTime
[ci skip] Adding `on_weekend?` method in edge rails guides
2016-02-17 04:32:20 +05:30
Yves Senn
9d37874732 reset ActionMailer::Base.deliveries in ActionDispatch::IntegrationTest.
Whenever you are sending emails in integration tests using the `:test`
delivery method you need to make sure that
`ActionMailer::Base.deliveries` is reset after every test. This piece of
boilerplate code is present in all my applications that send
emails. Let's have `ActionDispatch::IntegrationTest` reset the
deliveries automatically.
2016-02-16 11:20:59 +01:00
Eileen M. Uchitelle
7c3dc9632b Merge pull request #23688 from meinac/guide_typo_fix
Fix small typo in i18n guide [ci skip]
2016-02-15 09:15:50 -05:00
Mehmet Emin İNAÇ
804b4092e8 Fix small typo in Rails guides [ci skip] 2016-02-15 16:09:11 +02:00
David Heinemeier Hansson
587d70a79b Merge pull request #23687 from vipulnsward/add-on-weekday
Add `#on_weekday?` method to `Date`, `Time`, and `DateTime`.
2016-02-15 14:43:47 +01:00
Vipul A M
02a9e03c35 Add #on_weekday? method to Date, Time, and DateTime. 2016-02-15 18:16:51 +05:30
David Kuhta
55d9a70634 Create action_cable_overview.md resolves #23176 [ci skip]
Rails Guide for Action Cable

Added content from README

Pull additional information from Action Cable README and restructured Client/Server elements

Update to list numbering

Switched from list numbers to headings in the examples
Change AppearancesChannel to AppearanceChannel

Word missing

fixed missing word.

Removed Mistaken nesting of Channel class

Removed nesting of ChatChannel and AppearanceChannel from within ApplicationChannel Module. (Copy&Paste error)

Incorporated first round of comments

1. Capitalize "action cable"
2. Separated "Consumers require... via JavaScript" into two sentences
3. Minor typographical correction (remember...)
4. Extra backtick
5. Revised text which implied Redis was the exclusive storage adapter to reflect it's position as default.
6. Revised reference to denote correct config file location: config/cable.yml
7. Added adapter: redis to environment configuration blocks
8. Capitalized "R" for "Rack"
9. Revised syntax for routing to reflect the hash syntax. (to: NOT :to =>)
10. Removed reference to Action Cable being separate from Rails.
11. Began revision for adapter API [I believe this requires a reformatting of the 'Redis' portion of the configuration section to simply "Storage Adapters"]
12. Celluloid -> Concurrent-ruby

Moved errant grave mark [ci skip]

Reordered "In App" above "Standalone" [ci skip]

Reordered to reflect "In App" as preferable to "Standalone"

Action Cable Deployment [ci skip]

Removed paragraph that alludes to Action Cable not being able to run in the same process as Rails.

Removed EM reference and updated deployment [ci skip]

Removed explicit multi-threaded server dependency reference [ci skip]

Revised Configuration and fixed typos [ci skip]

Switched Lifecycle Graphic for Detailed Description [ci skip]

Switched from Lifecycle graphic to detailed description to facilitate revision and maintainability in the future.

Capitalized Heading (typo) [ci skip]

Implemented merged commits from README [ci skip]

Pulled over all (or at least I believe all) merged commits from README. (Dec 14, 2015 - Feb 11, 2016)

Editorial - Capitalize WebSockets [ci skip]

Reformated lines to ~75 characters [ci skip]
2016-02-14 14:04:41 -06:00
Mikhail Dieterle
c0bbfdb48e [ci skip] fix typos 2016-02-14 19:17:03 +03:00
yui-knk
f847f342f4 [ci skip] Update 'Testing Active Record'
Follow up 8c629bf463b47643712570d4511a68b9a3da1476.
`bundle exec rake test` in 'activerecord' runs tests for

* sqlite3
* mysql2
* postgresql
2016-02-14 13:11:31 +09:00
Xavier Noria
73fb2977ca restores the guides layout header [ci skip] 2016-02-13 17:56:56 +01:00
Jon Moss
f800e00f9a Merge pull request #23660 from meinac/change_x_gzip_to_gzip
Change x-gzip to gzip in docs [ci skip]
2016-02-13 10:28:21 -05:00
Mehmet Emin İNAÇ
2b63f2ee75 Change x-gzip to gzip in docs [ci skip]
For more information about GNU zip mime type please check IETF's web site [RFC6713](http://tools.ietf.org/html/rfc6713) or [IANA](http://www.iana.org/assignments/media-types/media-types.xhtml#application)
2016-02-13 17:11:05 +02:00
Jon Moss
4e80c12de3 Merge pull request #23654 from kamipo/fix_grammar_a_to_an
Fix grammar `a` to `an` [ci skip]
2016-02-13 09:39:34 -05:00
yuuji.yaginuma
f653b3b3a1 add missing name option to flash test example [ci skip] 2016-02-13 21:54:33 +09:00
Ryuta Kamizono
1335959135 Fix grammar a to an [ci skip] 2016-02-13 20:44:44 +09:00
Tom von Schwerdtner
1a61496ae5 Use correct path in documentation.
s/config\/production/config\/environments\/production/

[ci skip]
2016-02-12 13:53:18 -05:00
Kasper Timm Hansen
f709682697 Merge pull request #23612 from vipulnsward/23561-fix-routes-args
Fix argument passing to rake routes
2016-02-12 10:40:04 +01:00
Vipul A M
ef2a8c2391 - Fixed and removed long arguments to rake routes
- Fixed related documentation and usage all around

Fixes #23561
2016-02-12 14:35:57 +05:30
Prathamesh Sonpatki
2c89123b1a Fix numbers of steps to upgrade Rails [ci skip] 2016-02-12 13:38:02 +05:30
Leslie Viljoen
de51b0e707 Improve wording in documentation change
[ci skip]
2016-02-12 11:56:26 +13:00
Leslie Viljoen
4097ed5586 Document the upgrade process
The iterative process one has to follow is not currently documented, and
people could be unfamiliar with the Rails versioning scheme, causing
them to skip versions or upgrade to patch releases.

[ci skip]
2016-02-12 09:52:20 +13:00
Mark J. Lehman
0e6963254a Update active_record_querying.md
Added important distinction between scopes and class methods.
2016-02-10 16:00:22 -08:00
David Heinemeier Hansson
074ff5ce14 Merge pull request #23583 from brchristian/penultimate
Array.second_to_last and Array.third_to_last access methods
2016-02-10 20:45:12 +01:00
Brian Christian
e8aeda2ab3 rename to 'second_to_last' and 'third_to_last' 2016-02-10 10:10:38 -08:00
John Cole
344ddcbc3e Fix typo 2016-02-09 23:07:38 -05:00
Matt Michnal
767f168772 Fixed grammatical errors in rails docs [ci skip]
Fixed errors in rails migrations docs [ci skip]

Fixed errors in rails security docs [ci skip]
2016-02-09 17:57:16 -07:00
Brian Christian
c74045cf07 allow Array.penultimate and Array.antepenultiate access methods 2016-02-09 16:02:08 -08:00
Dave Gynn
836f6f1747 Update documentation regarding initializers [ci skip]
- Remove ActionController `logger` and `initialize_framework_caches`
  which were merged into `set_configs` in fbc9d0f4
- Rename ActiveRecord `set_reloader_hooks` changed in 283a0876
- Add missing initializers for ActionController and ActiveRecord
2016-02-09 14:51:23 -05:00
yuuji.yaginuma
9e70daa941 remove description of render :nothing from guide [ci skip]
`:nothing` option was deprecated in 44781b6e9790d90b4f8b9a41d2b2c114b1a582ee
2016-02-09 14:38:50 +09:00
Abhishek Jain
c2b9a5dbef [ci skip] Fix grammar 2016-02-09 04:16:28 +05:30
Prayag Verma
581c2a6547 Fix a typo
Replace `a` with `an`
2016-02-08 22:40:48 +05:30
Prathamesh Sonpatki
abef3c2b0d Remove references to Rails 4 from assets guide [ci skip] 2016-02-08 08:57:02 +05:30
mabras
f83d57d3e1 update turbolinks url [ci skip] 2016-02-08 03:17:31 +02:00
Larry Kyrala
5015215f9d doc changes
for rails/rails#23431

       modified:   guides/source/asset_pipeline.md
* description of asset combination from apps and gems, e.g. jquery-rails
* after @vipulnsward's related change rails/rails#23479
  correction: --skip-sprockets will prevent all of these gems, not just sass-rails and uglifier

       modified:   guides/source/working_with_javascript_in_rails.md
* noted that rails.js requires the asset pipeline

[ci skip]
2016-02-07 15:42:21 -05:00
Vipul A M
38f6d4e818 Publish guide on "Using Rails for API-only Applications"
Fixes #23322
[ci skip]
2016-02-07 15:28:16 +05:30
Vijay Dev
9a9587ff30 Separate for new and existing applications clearly
[ci skip]
2016-02-07 07:25:03 +00:00
Vijay Dev
bef16522db Merge branch 'master' of github.com:rails/docrails 2016-02-07 07:14:50 +00:00
David Heinemeier Hansson
625baa69d1 Change the default adapter from inline to async 2016-02-05 15:35:37 +01:00
Zachary Scott
be45d2f477 Check off some todos for the Testing guide with @senny [ci skip] 2016-02-05 19:56:23 +09:00
Yves Senn
f5032667f4 docs, remove trailing whitespace from testing guide. [ci skip] 2016-02-05 10:43:38 +01:00
Yves Senn
507a952686 docs, link Rails specific assertions to the API. [ci skip] 2016-02-05 10:42:22 +01:00
yuuji.yaginuma
924f33ad96 add missing include to engine test example [ci skip]
Using url helper method of engine in example code,
include `Engine.routes.url_helpers` is required to use helper method of engine.
2016-02-05 13:09:23 +09:00
Ryuta Kamizono
c9feea6c9a SQLite 2 support has been dropped [ci skip] 2016-02-04 09:23:11 +09:00
Rafael França
6ece7df8d8 Merge pull request #23442 from prathamesh-sonpatki/improve-pg-version-old-error-message
Improve pg version old error message and mention this change in release notes.
2016-02-03 17:05:20 -02:00
Yves Senn
2144c75cf2 Merge pull request #23447 from y-yagi/update_pg_supported_version_in_docs
update supported version of PostgreSQL in docs [ci skip]
2016-02-03 14:26:32 +01:00
yuuji.yaginuma
33681d0001 update supported version of PostgreSQL in docs [ci skip]
Follow up to  #23434
2016-02-03 22:24:29 +09:00
Kasper Timm Hansen
3fed7dd224 Merge pull request #23436 from y-yagi/use_bin_command_in_routes_task
use rails command in routes task
2016-02-03 07:51:27 +01:00
Prathamesh Sonpatki
52b3226a7a Mention PostgreSQL version support in release notes [ci skip] 2016-02-03 10:41:29 +05:30
Ryo Hashimoto
c8ac079413 use rails secret in rails guides 2016-02-03 10:13:38 +09:00
yuuji.yaginuma
fae1724398 use rails command in routes task
For other task has become to use the rails command at doc and test,
I think that routes task also it is better to use the rails command.
2016-02-03 08:17:25 +09:00
Scott Ringwelski
08a7481183 Add initial support for allowing an error on order or limit of queries being ignored in batches
add some documentation and add 4 tests regarding error vs. warning behavior

fix a typo when referring to the message

go back to default in tests so that ordering is not important. use a constant instead of method. fix assert_nothing_raised call. use self.klass to allow per class configuration

remove logger warn assets as that is tested elsewhere. pass error_on_ignore through find_each and find_in_batches also.

add blocks to the finds so that the code is actually executed

put the setting back to default in an ensure

Add a changelog entry
2016-02-02 15:05:16 -08:00
Zachary Smith
789fabf01f Fix typo. 2016-02-02 13:45:12 -07:00
Ryan Nielson
ac1427d6ca Change command_task.rb to commands_task.rb in docs
The initialization documentation references `rails/commands/command_task.rb`. This appears to be a typo as the file is actually `rails/commands/commands_task.rb`.
2016-02-02 09:20:10 -04:00
Kasper Timm Hansen
baae952588 Merge pull request #23225 from vipulnsward/20420-rake-routes-options
Add options for rake routes task
2016-02-01 22:09:22 +01:00
Vipul A M
f3e6e80e13 Merge pull request #23406 from hackerkid/master
.git added to https repo urls
2016-02-02 00:38:34 +05:30
Vishnu Ks
b818fd3b45 .git added to https repo urls 2016-02-02 00:33:46 +05:30
Rafael França
04dea729e3 Merge pull request #23151 from maclover7/fix-23148
Add documentation for #17573
2016-02-01 17:03:17 -02:00
Vipul A M
8a436fdd98 Add options for rake routes task
Add two options: `-c` and `-g`.
`-g` option returns the urls name, verb and path fields that match the pattern.
`-c` option returns the urls for specific controller.

Fixes #18902, and Fixes #20420

[Anton Davydov & Vipul A M]
2016-02-02 00:27:30 +05:30
Vishnu Ks
25cf3f0d7c git protocol replaced with https 2016-02-02 00:12:44 +05:30
Jon Moss
b3427c662e Add documentation for #17573
Fixes some parts of #23148.

[ci skip]
2016-02-01 13:28:30 -05:00
Rafael França
8b2c618cef Merge pull request #23375 from prathamesh-sonpatki/fix-19835
Fix documentation related to `config.assets.cache_store` [ci skip]
2016-02-01 11:00:56 -02:00
Prathamesh Sonpatki
437fa98e63 Fix documentation related to config.assets.cache_store [ci skip]
- sprockets-rails no longer supports customizing cache store after
  rails/sprockets-rails@ecaeb27 using `config.assets.cache_store`.
- Instead we need to configure it using block syntax.
- Fixes #19835.
2016-02-01 15:16:37 +05:30
Rafael Mendonça França
c2079f86f8 Revert "Merge pull request #23366 from maclover7/add-configuation-ar-docs"
This reverts commit 96355e87cba247246234386b0af9273cc5d59db9, reversing
changes made to a00c36feea6c0271b5ad48a949ef294514fdef52.

See https://github.com/rails/rails/pull/23366#issuecomment-177714429
2016-02-01 00:23:43 -02:00
Vipul A M
acddd032d0 Merge pull request #22857 from bdewater/interlock-doc
Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip]
2016-02-01 01:56:43 +05:30
Bart de Water
6cdc36a026 Update middleware docs regarding ActionDispatch::LoadInterlock [ci skip] 2016-01-31 21:18:37 +01:00
Ryuta Kamizono
7d67c318f6 Remove odd ` [ci skip] 2016-01-31 16:43:52 +09:00
Jon Moss
3ded07e7c8 Add configuration section to "Active Record Basics" guide
This is to fill in some missing information as apart of #22931.

It's on purpose that the sample `Message` model inherits from
`ActiveRecord::Base` -- Active Record is not meant to be coupled to
Rails, and we can't guarantee that users outside of the Rails world will
have an `ApplicationRecord` class that inherits from
`ActiveRecord::Base`.

[ci skip]
2016-01-30 19:46:00 -05:00
Jon Moss
d2bd7bba8e Small cleanup to Testing Guide
- inbuilt --> built-in
- Remove random spaces from code examples

[ci skip]
2016-01-30 15:10:25 -05:00
Vipul A M
153438f749 Merge pull request #23358 from vipulnsward/testing-guide-pass-3
Pass 3 over testing guide
2016-01-31 01:30:09 +05:30
Vipul A M
c01948cc57 Pass 3 over testing guide
- Various grammar fixes
- Added assertions for update controller action tests
- Added user helper tests
- Fix typos

[ci skip]
2016-01-31 01:28:50 +05:30
Prayag Verma
4663cab624 typo fix [ci skip]
Spelling mistake - direcotry > directory
2016-01-31 00:59:14 +05:30
Mikhail Dieterle
14037b8d8e [ci skip] fix typo 2016-01-30 19:32:23 +03:00
Francis Go
a48f97e0e6 Getting Started Guide: Update Ruby version to 2.3.0p0 2016-01-29 14:18:11 +11:00
Jon Moss
3745d5430b Docs review of api_app.md
Pass through correcting api_app.md. The list of included modules and
middleware was tested through a sample API app, and was listed in the
same order an end user would see in their terminal.

[ci skip]
2016-01-28 18:46:02 -05:00
Rafael Mendonça França
ee9d479941 Remove Rack::Lock from the API guides
It is not always there anymore

[ci skip]
2016-01-28 17:23:27 -05:00
Rafael Mendonça França
904e662ff2 Middleware have no plural
[ci skip]
2016-01-28 17:23:11 -05:00
Rafael Mendonça França
e9dff8e7b1 Mark API guide as work in progress
The documentation team didn't reviewed it yet so it can't be published.
2016-01-28 17:16:29 -05:00
Piotr Jakubowski
52a82f15f6 Put "Using Rails for API-only Applications" in table of contents
When I was looking for more info regarding this the only way I ended up
on that page was by googling something along the lines of "rails new
api" (as I wanted to find out what are the proper parameters when
generating api app). I think it's beneficial to have that page in table
of contents.
2016-01-28 21:39:53 +01:00
Collin Graves
69d657db6f English explanation to multi-level nested join
Added an "Or, in English..." explanation to the "Joining Nested Associations (Multiple Level)" example.
2016-01-27 21:54:34 -06:00
Djoume Salvetti
f7d825d778 Fix typos in asset_pipeline.md 2016-01-27 10:55:49 -05:00
Aditya Kapoor
b24b20c80e remove duplication section [ci skip] 2016-01-27 16:39:22 +05:30
Jon Moss
ceea3811e2 Merge pull request #23208 from vipulnsward/testing-pass-2
Pass 2 over testing guide
2016-01-25 08:23:38 -05:00
Fernando Seror
1307c8d0ea Update the exception of format constraint in routes
Per https://github.com/rails/rails/issues/20264
[ci skip]
2016-01-23 19:15:46 -06:00
Vipul A M
6026b37ffc Pass 2 over testing guide
- Grammar fixes
- Wordsmitting
- Fixed wrong statement about association usage in fixtures
- Changed association name from 'one' to 'first' instead
- More consistent usage of we/our
- Mentions assert_select is below, not already covered in Integration test.

[ci skip]
2016-01-23 21:24:32 +05:30
Vijay Dev
f3cf476f8c Merge branch 'master' of github.com:rails/docrails 2016-01-22 20:14:43 +00:00
Gaurav Sharma
ca339cc8fd Rails 5.0+ rake commands implemented in Rails Framework itself. We prefer to use bin/rails instead of rake [ci skip] 2016-01-22 22:20:03 +05:30
Jon Moss
84461db61e Merge pull request #23177 from vipulnsward/testing-pass-1
First pass over parts of Testing guide
2016-01-22 10:46:29 -05:00
Vipul A M
86a3a54915 First pass over parts of Testing guide
- Grammar improvements
- Consistent usage of you or we in sentences
- Tests can have zero or more assertions. Its not mandatory to have one.
- Example for assert_send

[ci skip]
2016-01-22 12:36:13 +05:30
Shakib Hossain
6b42667607 [ci skip] fix #23157 2016-01-22 02:25:55 +06:00
Alexander
7c643d9fcf insert newlines into code samples
[ci skip]
2016-01-20 17:06:02 -08:00
Rafael França
71491c631f Merge pull request #23125 from Gaurav2728/update_puma_as_webserver
[ci skip] update guide for Puma web server instead of Webrick
2016-01-19 14:23:56 -05:00
Gaurav Sharma
1474619196 [ci skip] update guide for Puma web server instead of Webrick
Rails 5.0 default server puma web server. following commit - https://github.com/rails/rails/commit/ae48ea69
2016-01-20 00:50:47 +05:30
Vipul A M
d0c62d9d1e - Changed from bin/rake to bin/rails at more application places.
- Only ones left are from the upgrading guide, and command line guide explicit section about rake

Follow up of https://github.com/rails/rails/pull/23119
[ci skip]
2016-01-20 00:34:31 +05:30
Gaurav Sharma
352a8892fd use bin/rails default instead of rake commands [ci skip]
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
2016-01-19 23:47:14 +05:30
Vipul A M
c96727135a - Remove dead links and take users to just the home page instead
- Add new logo for guides header
[ci skip]
2016-01-19 23:22:25 +05:30
Abdelkader Boudih
f8234313fe Merge pull request #23117 from vipulnsward/22297-ar-exception-raise
Mention that halting chain does not re-raise  `ActiveRecord::RecordIn…
2016-01-19 11:19:17 +00:00
Vipul A M
8b0b0b0675 Mention that halting chain does not re-raise ActiveRecord::RecordInvalid exception as well, similar to ActiveRecord::Rollback
Fixes #22297

[ci skip]
2016-01-19 15:21:53 +05:30
Vipul A M
0764e67863 Make text about render :html option clearer to state, text will get escaped if not marked as safe by using html_safe
Fixes #22648
[ci skip]
2016-01-19 15:15:25 +05:30
Prathamesh Sonpatki
43c750bacb Fix discrepancies in associations guide [ci skip]
- Followup of 71ff088a09
2016-01-19 12:02:23 +05:30
amitkumarsuroliya
b4803e6ea7 ApplicationRecord instead of ActiveRecord::Base in Association Guides [ci skip] 2016-01-19 11:09:52 +05:30
Kasper Timm Hansen
426b3127dd Merge pull request #23099 from vipulnsward/change_start_at_end_at
Changed options for find_each and variants to have options start/finish
2016-01-18 19:57:10 +01:00
amitkumarsuroliya
71ff088a09 Association Guide replaces Order as example with Author-Book Example [ci skip]
fixes #21500
2016-01-18 22:18:54 +05:30
Jon Moss
5f302eabae Merge pull request #22705 from RochesterinNYC/add-order-explanation-to-first-last-guides
Add clarification about `first` and `last` behavior when using `order` [ci skip]
2016-01-18 10:31:39 -05:00
Jon Moss
721e45c90c Merge pull request #22394 from j-dexx/update_association_basics_guide
Updated the guides for having a distinct has_many through at the data…
2016-01-18 09:33:03 -05:00
James Doyley
f72fe2d5a6 Updated the guides for having a distinct has_many through at the database level
The current example

    add_index :person_articles, :article, unique: true

Does not work, the `:article` column does not exist as it will be
a join table (based on the prior example) so should use :article_id

The documentation seems to suggest that it will allow an article to
be added only once to a person via the join table, what actually
occurs is that it only allows the article to be added to one person,
at which point it should be a `belongs_to` association.

Also changed the new example to use readings based on the prior example
2016-01-18 10:08:43 +00:00
Prathamesh Sonpatki
ad08072249 Explain how HStore columns can be queried [ci skip]
- Fixes #22876.
2016-01-18 14:39:50 +05:30
Vipul A M
da26934313 Changed options for find_each and variants to have options start/finish instead of start_at/end_at based on comments
at https://github.com/rails/rails/pull/12257#issuecomment-74688344
2016-01-18 12:40:30 +05:30
ankit1910
390067161e [ci skip] fix typo in docs 2016-01-14 20:50:48 +05:30
Mauro George
43800057fc Add a note on ActionController guide about 404
[ci skip]
2016-01-11 19:27:19 -02:00
Santiago Pastorino
527cd8dfcd Merge pull request #22983 from bronson/update-mysql-in-guides
remove mentions of legacy mysql adapter from guides
2016-01-10 13:10:18 -03:00
Jon Moss
4973704bf5 Merge pull request #21995 from tak1n/master
Add Example for using config_for
2016-01-10 10:46:17 -05:00
Scott Bronson
8c629bf463 remove legacy mysql from guides to match #22715 2016-01-09 09:10:49 -08:00
Pramod
68f46a815f rake log:clear task updated refs[#22544]
- Avoided truncating all files if no ENV['LOGS'] specified
- Updated task to accept LOGS=all for truncating all files from log/ i.e. log/*log
- If no LOGS specified will truncates standard environment log files i.e. 'development,test,production'
- CHANGELOG & guide update added
- bin/setup test cases fixed
2016-01-09 13:39:41 +05:30
Rafael França
ced9612b59 Merge pull request #22275 from mastahyeti/per-form-csrf
Per-form CSRF tokens
2016-01-06 02:55:10 -02:00
Claudio B
3d90a6348d Merge pull request #22922 from vhf/add_fpb_back
[ci skip] Update doc/resource link removed by #21211
2016-01-05 04:23:44 -08:00
Manu
f82ed2dab4 Add job suffix to sample's job file name 2016-01-05 11:28:55 +00:00
Victor Felder
2f7d6c57d5 [ci skip] Update doc/resource link removed by #21211 2016-01-05 09:11:41 +01:00
Ben Toews
3e98819e20 add option for per-form CSRF tokens 2016-01-04 12:26:38 -07:00
Rafael Mendonça França
e165f7fa60 Update the maintenance policy for the next release. 2016-01-04 17:23:34 -02:00
Prathamesh Sonpatki
fd04a0cb09 Remove duplicate entry for ActiveRecord::Relation#cache_key from Rails 5 release notes [ci skip] 2016-01-02 22:35:23 +05:30
Sean Collins
0d3254e3e6 Fix typo: test -> text 2015-12-30 17:15:07 -07:00
Kasper Timm Hansen
e129c0698c [ci skip] Update rails/all.rb reference.
It didn't mention Action Cable's engine.
2015-12-30 22:30:29 +01:00
Yves Senn
6c85aeaa7b Merge pull request #22844 from prathamesh-sonpatki/issue_22836
Fix documentation for configuring default_charset [ci skip]
2015-12-30 08:50:33 +01:00
Prathamesh Sonpatki
8fa337305f Fix documentation for configuring default_charset [ci skip]
- Fixes #22836.
2015-12-30 11:35:47 +05:30
Akshay Vishnoi
2d1688584f [ci skip] Put all removals in its section 2015-12-30 11:02:32 +05:30
Yves Senn
0d2675f84f Merge pull request #22053 from Empact/first-loaded
Fix #first(limit) to take advantage of #loaded? records if available
2015-12-28 09:34:35 +01:00
Eileen M. Uchitelle
85048e90ab Merge pull request #22759 from akshay-vishnoi/human-size-helper
Add support for Petabyte and Exabyte in number to human size
2015-12-27 09:56:43 -05:00
yuuji.yaginuma
b8bbdc54e2 fix link to pr [ci skip] 2015-12-27 20:58:36 +09:00
Tim Rogers
9e0fa4cddd Improve RDoc documentation of ActionDispatch::SSL 2015-12-24 14:11:51 +00:00
Tim Rogers
8678740e33 Improve documentation of config.force_ssl in guides 2015-12-24 12:24:48 +00:00
Dave Powers
34f5704b85 Improve readability of CacheHelper section
[ci skip]
2015-12-23 16:42:54 -05:00
Ryuta Kamizono
ec174408e4 release notes, use past tense. [ci skip] 2015-12-24 04:51:53 +09:00
Yves Senn
f33b12254e release notes, Rails 5 won't support the protected_attribtues gem.
[ci skip]
2015-12-23 17:08:25 +01:00
Yves Senn
e426258aa2 release notes, extracted notable changes from Active Record CHANGELOG.
[ci skip]
2015-12-23 12:06:38 +01:00
Yves Senn
4961fb21a9 release notes, extract notable changes from Active Model CHANGELOG.
[ci skip]
2015-12-23 10:19:05 +01:00
Yves Senn
95714bb2b2 release notes, extract notable changes from Active Job CHANGELOG.
[ci skip]
2015-12-23 10:05:11 +01:00
Yves Senn
8592f60c20 release notes, extract notable changes from Active Support CHANGELOG.
[ci skip]
2015-12-23 09:10:03 +01:00
Prathamesh Sonpatki
e477cad275 Fix typos in Rails 5.0 release notes [ci skip] 2015-12-23 11:01:20 +05:30
yui-knk
4e1bc57134 [ci skip] An internal link is an relative path 2015-12-23 13:59:27 +09:00