Commit Graph

3644 Commits

Author SHA1 Message Date
Thiago Augusto
89c53ece47 Update routing.md 2015-09-22 10:17:43 -03:00
amitkumarsuroliya
a2f78cb947 fix to_time output in ActiveSupport guide. Since 48583f8bf7 , to_time returns times formatted as YYYY-MM-DD HH:MM:SS UTC [ci skip]
`to_time` method returns in `YYYY-MM-DD HH:MM:SS UTC` format after this commit 48583f8bf7 .
2015-09-20 18:01:26 +05:30
amitkumarsuroliya
c7000d93e7 correcting word smpt -> smtp in ActionMailer guide [ci skip]
`smpt.gmail.com` should be `smtp.gmail.com`
2015-09-20 16:32:03 +05:30
yuuji.yaginuma
ac29778b09 remove association reload option from guide [ci skip]
The option was deprecated in 6eae366d0d2e5d5211eeaf955f56bd1dc6836758
2015-09-20 11:35:10 +09:00
amitkumarsuroliya
ccbf1597b7 Replace #=> with # => [ci skip]
@rafaelfranca suggested in f7c7bcd9c2 that code examples should display
the result after  `# =>` and not after `#=>`.
2015-09-19 13:45:13 +05:30
Ronak Jangir
9b016cff1a Fixed unclosed tags in kindle guide source [ci skip] 2015-09-19 12:15:34 +05:30
Aaron Patterson
38d2bf5fd1 mostly remove the ParamsParser middleware
This can still be added to the middleware stack, but is really not
necessary.  I'll follow up with a commit that deprecates the constant
2015-09-18 15:36:55 -07:00
Xavier Noria
2a9cf79957 let the guides home point to the new release series endpoints [ci skip] 2015-09-18 12:27:31 -07:00
Vijay Dev
e80b39c390 Merge branch 'master' of github.com:rails/docrails 2015-09-18 12:30:41 +00:00
Bradley D
119f38f795 Change AbstractRequest to ActionDispatch::Request
AbstractRequest has been deprecated, updating to refer to ActionDispatch::Request instead.

[ci skip]
2015-09-17 16:43:51 -06:00
Jeremy Daer
4d77e02d34 Clarify CSRF <script> purpose and protection. Note how to deal with your own <script> tags.
Ref #21618

[ci skip]
2015-09-16 08:56:16 -07:00
Claudio B.
7a93952287 Merge pull request #21644 from AvnerCohen/i18n_backend
Update documentation to remove 'desirable' suggestion for what is not a clear cut approach
2015-09-16 05:55:22 -07:00
Eileen M. Uchitelle
3edc7f7a1c Merge pull request #21618 from designgrill/master
Improved explanation of the <script> tag CSRF behavior
2015-09-16 07:56:32 -04:00
Avner Cohen
aecfc9360f Update documentation to remove 'desirable' suggestion for what is not a clear cut approach 2015-09-16 11:58:43 +03:00
Arthur Nogueira Neves
29886d9304 Merge pull request #20897 from lukechesser/guide-fix-for-acceptance-validation
Update Validation guide for acceptance method
2015-09-14 21:18:19 -04:00
Anshul Agrawal
570cd24816 Improved explanation of the <script> tag CSRF behavior 2015-09-14 11:35:16 +05:30
Rafael Mendonça França
65f189da2d Merge pull request #21568 from amitsuroliya/mysql_version_update
Updated MySQL documentation link to MySQL latest version 5.7 everywhe…
2015-09-13 03:46:25 -03:00
Lachlan Campbell
0ab07181c9 Remove RHTML reference in Action Controller docs [ci skip] 2015-09-10 20:25:48 -04:00
yuuji.yaginuma
8b7950e25e add description of passing a block to add_source [ci skip]
block support added in 8cc01e0b2bfa75a613720c535d34e451f5de769c
2015-09-10 21:12:11 +09:00
amitkumarsuroliya
08c0ef777f Updated MySQL documentation link to MySQL latest version 5.7 everywhere [ci skip]
Bumps from `5.6` to `5.7`
2015-09-10 07:38:18 +05:30
Eileen M. Uchitelle
b455cadbfd Merge pull request #21333 from imtayadeway/ar-querying-docs
Improve the AR querying docs
2015-09-09 11:19:23 -04:00
Tim Wade
736ee9e104
[ci skip] Update MySQL docs reference to latest
Bumps to 5.7
2015-09-09 08:15:38 -07:00
Tim Wade
a0d7db760d
[ci skip] Improve readability in AR querying guide
* rewords a few awkwardly worded sentences
* adds some punctuation
* adds a few missing words
2015-09-09 08:15:23 -07:00
Yves Senn
8d1af2b10c Merge pull request #21512 from X0nic/guides-clarify-timeout-error
[Rails Guides] clarify `ActiveRecord::ConnectionTimeoutError`
2015-09-08 17:28:59 +02:00
arvind
dad0c2677c Replace AR with ActiveRecord to make it more readable [ci skip] 2015-09-08 16:02:16 +05:30
Rafael Mendonça França
8167d18c71 Merge pull request #21534 from Vratislav/clarify-custom-config-guide
[Rails Guides] Clarify custom code configuration [ci skip]
2015-09-07 17:52:29 -03:00
Ronak Jangir
953a83e918 Removed Extra ‘the’ [ci skip] 2015-09-06 14:20:06 +05:30
Nathan Lee
7dc490b709 [Rails Guides] clarify ActiveRecord::ConnectionTimeoutError
Original:
    * ActiveRecord::ConnectionTimeoutError - could not obtain a database
      connection within 5 seconds. The max pool size is currently 5;
      consider increasing it:

Modified version:
    * ActiveRecord::ConnectionTimeoutError - could not obtain a database
      connection within 5.000 seconds (waited 5.000 seconds)

[ci skip]
2015-09-05 22:23:37 -06:00
Juanito Fatas
c7cc81d211 Add missing and remove unnecessary periods in testing.md [ci skip] 2015-09-05 21:08:32 +08:00
yuuji.yaginuma
40c96f7be5 fix module name typo in API app guide [ci skip] 2015-09-04 14:38:54 +09:00
yuuji.yaginuma
75d96ac831 add a description of the return value that was missing [ci skip] 2015-09-03 07:32:27 +09:00
Ignatius Reza
7a11b10e3d [ci skip] fix invalid package name for libmysqlclient-dev
tested on Ubuntu Desktop 15.04
2015-09-02 18:30:03 +09:00
kishore-mohan
cf82b2e034 typo "description not clear corrected with proper description and action_controller_overview file Rails' -> Rails" [ci skip] 2015-09-02 09:19:47 +05:30
amitkumarsuroliya
a274c78c26 typo fix [ci skip]
sub-project's should be sub-projects' at all places
2015-09-01 18:27:23 +05:30
Rafael Mendonça França
57393957e1 Merge pull request #17351 from akshat-sharma/master
Add case_sensitive option for confirmation validation
2015-09-01 02:42:43 -03:00
Akshat Sharma
2438a1cf4e Add case_sensitive option for confirmation validation
Case :- 1. In case of email confirmation one needs case insensitive comparison
        2. In case of password confirmation one needs case sensitive comparison

[ci skip] Update Guides for case_sensitive option in confirmation validation
2015-09-01 10:42:51 +05:30
Sean Griffin
13c6903451 Merge pull request #21432 from yui-knk/fix/what_change_method_can_reverse
[ci skip] Update what methods `Migration#change` can reverse
2015-08-30 19:20:22 -06:00
yui-knk
df9cfc055a [ci skip] Update what methods Migration#change can reverse
* Documentations and comments about what methods
  `Migration#change` can reverse is out of date.
  For example `change_column_default` is now reversible
  by this [commit](https://github.com/rails/rails/pull/20018).

* Comments about `CommandRecorder` dose not match with Rails Guide.
  For example `add_foreign_key` is listed only on Rails Guide.
2015-08-31 10:08:38 +09:00
yuuji.yaginuma
341151da5b fix typo in method name [ci skip] 2015-08-30 22:16:27 +09:00
Shivani
ac1c888b95 [ci skip] Better description for starting up with new Rails project
These changes rephrases the description with better explanation of step by step process.
2015-08-28 15:31:59 +02:00
Konstantinos Rousis
7ddf72d008 fix reference to undefined variable in email testing guide [ci skip] 2015-08-28 09:39:06 +02:00
Claudio B.
65684d76fd Merge pull request #21409 from piton4eg/patch-9
Fix Configuring Active Record  [ci skip]
2015-08-27 19:11:51 -07:00
yuuji.yaginuma
c98fd25120 remove link to outdated article in plugins guide [ci skip]
linked article is a description of the plugins in Rails 2.1.
2015-08-28 09:18:08 +09:00
Alexey Markov
0c85705f38 Fix Configuring Active Record [ci skip] 2015-08-27 23:16:44 +03:00
Aaron Patterson
d47438745e remove RackDelegation module
Since all controller instances are required to have a request and
response object, RackDelegation is no longer needed (we always have to
delegate to the response)
2015-08-26 11:53:15 -07:00
Robin Dupret
f59de082bf Fix a tiny typo [ci skip] 2015-08-25 16:13:34 +02:00
Robin Dupret
f150decfe2 A quick pass over the testing guide
* Fixtures are loaded for all the tests by default (not only model and
  controller tests).
* Fix a few typos and improve the markup at some levels.
* Wrap changes to 80 chars

[ci skip]
2015-08-25 16:13:34 +02:00
Robin Dupret
be19bf3728 Merge pull request #21354 from yui-knk/fix/migration_file_timestamp
[ci skip] Fix migration file's timestamp
2015-08-24 19:04:50 +02:00
yui-knk
454e0c1c8d [ci skip] Fix migration file's timestamp
In rails generally migration file's timestamp is "YYYYMMDDHHMMSS".
2015-08-24 21:21:44 +09:00
Yves Senn
5500e28eb3 Merge pull request #21091 from y-yagi/add_activejob_section_to_instrumentation_guide
add Active Job section to instrumentation guide [ci skip]
2015-08-24 13:33:45 +02:00