Commit Graph

4176 Commits

Author SHA1 Message Date
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
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