Commit Graph

3476 Commits

Author SHA1 Message Date
Zachary Scott
e67386a8c4 Merge pull request #20652 from ankit1910/change_doc
Change documentation for collection.build and collection.create [ci-skip]
2015-06-27 10:29:53 -04:00
Rafael Mendonça França
859c8c3f67 Merge pull request #20018 from sikachu/change-column-default-recorder
Add reversible syntax for change_column_default
2015-06-27 01:45:22 -03:00
Dmitry Pak
e7de3e4ac6 Change routes.rb look in getting started [ci skip] 2015-06-27 02:16:02 +03:00
Prem Sichanugrist
f9c841927a Update guide for new change_column_default syntax 2015-06-26 16:25:13 -04:00
Guillermo Iguaran
8cc01e0b2b Merge pull request #20697 from 5t111111/add-block-to-add_source
add_source in Application Template should take a block for gem entries
2015-06-25 16:56:13 -05:00
Hirofumi Wakasugi
e6be33f1dd cherry-pick test and source doc from #20050 2015-06-25 15:25:49 +09:00
yuuji.yaginuma
4e0c39f662 remove nonexistent hook from instrumentation guide [ci skip] 2015-06-25 13:09:05 +09:00
Rafael Mendonça França
1022796ac0 Merge pull request #20674 from yui-knk/fix/guide2
[ci skip] Make clear what `this method` is
2015-06-23 12:55:30 -03:00
yui-knk
7a74d81916 [ci skip] Make clear what this method is
In this sentence, there are three candidates of `this method`

* default_url_options
* url_for
* helper method(s)

so make it clear.
2015-06-24 00:27:53 +09:00
Robin Dupret
707144a31e Remove the paragraph about Rails::Server#middleware
As of 56903585, the Rack::ContentLength middleware isn't included by
default anymore.

The only remaining middleware is Rack::Lock ; since it's only included
when using WEBrick, it's certainly not worth documenting it in the
guides.

[ci skip]
2015-06-23 17:06:47 +02:00
Andrey Nering
35bbeabbb6 Minor fixes [ci skip] 2015-06-22 13:56:26 -03:00
Vijay Dev
f6797a7683 Merge branch 'master' of github.com:rails/docrails
Conflicts:
	guides/source/configuring.md
2015-06-21 18:37:55 +00:00
ankit1910
8f6e0b71b0 Change documentation for collection.build and collection.create [ci-skip] 2015-06-21 22:32:52 +05:30
Gaurish Sharma
29a64f2384 Remove broken links
[ci skip]
2015-06-21 10:31:33 +05:30
Yves Senn
40bdf0dd4c Merge pull request #20117 from jfine/action-mailer-smtp-settings-update
Add openssl_verify_mode and sync other smtp_settings with API docs [ci skip]
2015-06-19 12:04:58 +02:00
yuuji.yaginuma
79da980448 correct example output of references migration [ci skip]
this behavior was changed in 99a6f9e60ea55924b44f894a16f8de0162cf2702
2015-06-19 08:16:36 +09:00
Robin Dupret
068ab23a33 Tiny documentation fixes [ci skip] 2015-06-18 11:38:08 +02:00
Robin Dupret
3f767aa9cf Merge pull request #20054 from trosborn/master
updates caching guide to reflect current Rails capabilities [ci skip]
2015-06-18 11:23:13 +02:00
yuuji.yaginuma
576a83c6f1 remove Rails::Rack::Debugger from guides [ci skip]
Rails::Rack::Debugger was removed in 93559da4826546d07014f8cfa399b64b4a143127
2015-06-18 09:16:11 +09:00
Thomas Osborn
9c1cfcbccc updates caching guide to reflect current Rails capabilities [ci skip] 2015-06-17 16:40:44 -07:00
Xavier Noria
7789dfe779 i18n guide: warn about default_url_options caching and locale selectors [ci skip] 2015-06-15 21:41:08 +02:00
Xavier Noria
c865b8298f document that default_url_options is cached per request [ci skip] 2015-06-15 21:41:08 +02:00
Robin Dupret
7e30085bd0 A pass over the API application guide [ci skip]
* Fix a few remaining typos
* Wrap lines to 80 chars
* Fix the conversion from Textile to Markdown
* Update the part about `Rack::Cache` which isn't included anymore and
  speak about Active Support's provided middleware
* Remove references to out-of-date methods and middlewares (e.g.
  respond_with) and update the list of modules and middlewares to match
  the actual code-base.
* Remove the middleware's description and links to the Rack guide
2015-06-15 11:41:52 +02:00
Yves Senn
9ad36601f1 pg guide, explain the state of using UUID primary keys. Closes #20518.
[ci skip]

The PostgreSQL 9.4 docs suggest to use `pgcrypto`.
Howerver `create_table id: :uuid` will still default to `uuid_generate_v4()`
2015-06-15 11:34:41 +02:00
839
f7b5f6d88a Updated bundler link [ci skip] 2015-06-15 08:31:28 +09:00
Mehmet Emin İNAÇ
bcf9410ec3 Wrong documentation about Rails autoload on active_jobs_basics doc [ci skip]
By default Rails automaticaly loads all files under the app directory
2015-06-14 18:10:32 +03:00
Zachary Scott
361014a8f5 Merge pull request #20511 from ZeroMax-dev/master
Extended 'Active Job Basics' guide with more detailed information
2015-06-14 09:22:24 -04:00
Andreas Metzger
3b24aa9fd3 Extended 'Active Job Basics' edge guide with more detailed information and an additional step [ci skip]
Normalized use of 'queueing'/'queuing' in the document.
2015-06-14 10:32:46 +02:00
Staphany Park
3862c55049 Add fixture use case to testing.md.
I think people would find it useful to know that you can pass in multiple fixture names to get an array of all the fixtures. I've found this useful in my own app. It looks like there already a test case that supports this feature (https://github.com/rails/rails/blob/master/activerecord/test/cases/fixtures_test.rb#L398), but it's just not documented here.

I look forward to your feedback!
2015-06-13 01:11:25 -04:00
yuuji.yaginuma
95de0f01e0 fix doc about foreign key name [ci skip]
this behavior was changed in b8e1f202676b4788c56241b124c401beff9f4014
2015-06-12 09:39:18 +09:00
Santiago Pastorino
80702b78e1 It's rails new my_api --api 2015-06-11 16:54:16 -03:00
Santiago Pastorino
564d0299c0 Change guide heading from - to = 2015-06-11 16:54:16 -03:00
Santiago Pastorino
b7494b66bc Add API only apps guide 2015-06-11 16:54:15 -03:00
Matthew Draper
90d0b852a5 Revert "Grammar correction"
This reverts commit 67e467b9a5c113177aff925f07136e9b7f2a1eda.
2015-06-11 21:53:33 +09:30
hemali jain
67e467b9a5 Grammar correction 2015-06-11 15:13:30 +05:30
Prathamesh Sonpatki
8019ad72ea Remove NOTE related to format.js [ci skip]
- The example for which this NOTE was written was removed in
   https://github.com/rails/rails/pull/20493.
2015-06-09 23:37:07 +05:30
Daniel Steele
0cab6c9484 Removed AJAX example with poor convention adherence
The removed section promotes putting JS code directly inside the controller, this is not in line with convention.
2015-06-09 16:56:59 +01:00
Gaurav Sharma
157a6eb019 update Rails Command Line guide page 2015-06-09 20:00:23 +05:30
Hendy Tanata
9977efd455 Remove misplaced period on "Configuring" guide.
[ci skip]
2015-06-08 15:08:32 -07:00
yui-knk
cbd71795bc [ci skip] Fix minutes to seconds in select_second
This is same type commit of https://github.com/rails/rails/pull/20463
2015-06-09 00:12:06 +09:00
Zachary Scott
aeac00feb4 Merge pull request #20463 from yui-knk/fix/guide1
[ci skip] Fix hours to minutes in `select_minute`
2015-06-08 09:58:12 -04:00
Yves Senn
90effb45a9 Merge pull request #20381 from kuldeepaggarwal/engines-docs
fix docs for Engines [ci skip]
2015-06-08 15:29:25 +02:00
Seiei Miyagi
8c1b99ced5 Fix core_text -> core_ext
[ci skip]
2015-06-08 18:44:56 +09:00
Zachary Scott
8fea749e2c Merge pull request #20471 from y-yagi/add_instantiation_to_instrumentation_guide
add `instantiation.active_record` hook to instrumentation guide [ci skip]
2015-06-07 21:49:51 -04:00
Pierre
5667256460 Add missing NOTE for Time extensions' location 2015-06-07 21:24:00 -04:00
yuuji.yaginuma
eb9f42b291 add instantiation.active_record hook to instrumentation guide [ci skip]
the hook was added in 2a0d97bc89fc230241453cbbf55621309e1f3ac6
2015-06-08 08:55:01 +09:00
Robin Dupret
b10c3866d7 Tiny documentation edits [ci skip] 2015-06-07 16:01:09 +02:00
yui-knk
edea7b6f0a [ci skip] Fix order to match options order 2015-06-07 22:07:12 +09:00
yui-knk
4071caad2a [ci skip] Fix hours to minutes in select_minute 2015-06-07 21:56:26 +09:00
Robin Dupret
27eccc27cb A few documentation tweaks [ci skip]
[Robin Dupret & Shunsuke Aida]
2015-06-07 14:53:24 +02:00