Commit Graph

51371 Commits

Author SHA1 Message Date
Anton Davydov
b485eb33fa [skip ci] Update documentation for MemCacheStore::build_mem_cache 2015-05-21 23:24:12 +03:00
Xavier Noria
d345ce9630 revises a test to account for case-insensitive file systems
The patched test assumed the file system is case-sensitive, but that is not
necessarily the case. In particular, this test did not pass in the recommended
setup for the dev box, because the /vagrant shared folder is case-insensitive.

After looking at some gems that provide access to file system metadata I have
chosen to go with the check you can see in the patch because, albeit it's a bit
dirty creating a file, it is super easy to understand and clearly portable.

References https://github.com/rails/rails-dev-box/issues/102.
2015-05-21 21:45:51 +02:00
Ronak Jangir
722a367d4e Remove use of mocha in the railties generators tests 2015-05-22 00:12:58 +05:30
Abdelkader Boudih
448bf47fe7 Merge pull request #20247 from davydovanton/doc-array-inquirer
Update documentation for ArrayInquirer#any?
2015-05-21 19:31:54 +01:00
Anton Davydov
8d1a292047 [skip ci] Update documentation for ArrayInquirer#any? 2015-05-21 21:28:17 +03:00
Kasper Timm Hansen
39037b70ef Merge pull request #20244 from y-yagi/remove_div_for_from_guide
remove reference to `div_for` method from guide [ci skip]
2015-05-21 13:04:37 +02:00
yuuji.yaginuma
88787e780b remove reference to div_for method from guide [ci skip]
`div_for` removed in 01e94ef
2015-05-21 19:35:52 +09:00
Yves Senn
b052a46268 Merge pull request #20235 from davydovanton/doc-update-date
[skip ci] Update documentation for Date class
2015-05-21 08:55:09 +02:00
Anton Davydov
30f8318047 [skip ci] Update documentation for Date class 2015-05-21 02:03:41 +03:00
Arthur Nogueira Neves
f271f43f10 Merge pull request #20022 from repinel/remove-mocha1
Remove use of mocha in the railties path tests
2015-05-20 23:13:18 +02:00
Arthur Nogueira Neves
c36423984d Merge pull request #17788 from sivagollapalli/master
Issue#17703 Test case for tempfile attribute
2015-05-20 22:41:19 +02:00
Rafael Mendonça França
6577d049ef Merge pull request #20230 from ronakjangir47/american_style
Rails documentation standard is american english. [ci skip]
2015-05-20 14:12:08 -03:00
Ronak Jangir
0d615c3ff9 Rails documentation standard is american english. [ci skip] 2015-05-20 22:42:09 +05:30
Rafael Mendonça França
85fb209e52 Merge pull request #20228 from karanarora/Spelling-fix
Rails documentation standard is american english. [ci skip]
2015-05-20 12:30:17 -03:00
karanarora
bb4ef33b0a Rails documentation standard is american english. [ci skip] 2015-05-20 20:39:41 +05:30
Rafael Mendonça França
66780af027 Merge pull request #20225 from manish-shrivastava/master
updated Inline format at activerecord rdoc
2015-05-20 11:07:22 -03:00
Manish shrivastava
6252d0aece updated Inline format at activerecord rdoc
For Inline formats, changed ` (single backticks)   to <tt> tag at active record rdoc as single backticks (`) don't work with rdoc. for inline format.
2015-05-20 19:15:33 +05:30
Arun Agrawal
879f316995 Fix broken link for minitest. [ci skip]
For more details see #20222
2015-05-20 14:55:58 +02:00
Yves Senn
21474f143a Merge pull request #20222 from Gaurav2728/gaurav-update_ruby_links
[ci skip] updated ruby doc links; for rails next version of ruby will be 2.2x
2015-05-20 14:25:21 +02:00
Gaurav Sharma
3e238b6b0f [ci skip] update ruby doc links; for rails next version ruby 2.2+ will be supported only 2015-05-20 17:41:17 +05:30
Kasper Timm Hansen
5d5447b0cb Merge pull request #20221 from Gaurav2728/gaurav-debugging_rails_guide_update
Rails 5.0 will target Ruby 2.2+, correct rails guide example [ci skip]
2015-05-20 14:08:57 +02:00
Gaurav Sharma
a9aefffea6 Rails 5.0 will target Ruby 2.2+, correct rails guide example [ci skip] 2015-05-20 17:18:24 +05:30
Santiago Pastorino
0f9ab4f348 Merge pull request #20219 from karanarora/Typo-fix
typo fix [ci skip]
2015-05-20 07:48:26 -03:00
karanarora
ec8b7a543e typo fix [ci skip] 2015-05-20 15:21:00 +05:30
Yves Senn
1ceeadad3b add missing punctuation in changelog. [ci skip] 2015-05-20 11:26:09 +02:00
Arun Agrawal
e00d63e2c6 Merge pull request #20217 from amitsuroliya/fix_netaddr_link
Fix NetAddr link [ci skip]
2015-05-20 10:34:05 +02:00
Arun Agrawal
edb0eaab9f Merge pull request #20218 from ronakjangir47/postgresql
Updated postgresql documentation link to use latest version [ci skip]
2015-05-20 10:32:43 +02:00
amitkumarsuroliya
ac20dd73ac Fix NetAddr link [ci skip] 2015-05-20 14:01:00 +05:30
Ronak Jangir
76fbfe9e6c Updated postgresql documentation link to use latest version [ci skip] 2015-05-20 14:00:31 +05:30
Richard Schneeman
07f1a503ac Merge pull request #20215 from repinel/validates_acceptance_doc
[ci skip] add to doc that acceptance validator allows `nil` by default
2015-05-19 22:27:54 -05:00
Carlos Antonio da Silva
df93b4d113 Fix docs markup for option_groups_from_collection_for_select [ci skip] 2015-05-19 23:27:56 -03:00
Roque Pinel
8f09a8396f [ci skip] add to doc that acceptance validator allows nil by default 2015-05-19 22:20:10 -04:00
Akira Matsuda
e6f9468e22 Give respond_to? a Symbol 2015-05-20 11:05:27 +09:00
Rafael Mendonça França
ffc3b33494 Merge pull request #20213 from gouravtiwari/patch-8
updated squash docs-section [ci skip]
2015-05-19 18:32:03 -03:00
Godfrey Chan
0469364819 Small stylistic tweaks for Delegator#try patch
* Rename `ActiveSupport::Try` => `ActiveSupport::Tryable`
* Include the modules inline
* `private` indentation
2015-05-19 13:29:02 -07:00
Nate Smith
af53280a4b Patch Delegator to work with #try
`Delegator` inherits from `BasicObject`, which means that it will not
have `Object#try` defined. It will then delegate the call to the
underlying object, which will not (necessarily) respond to the method
defined in the enclosing `Delegator`.

This patches `Delegator` with the `#try` method to work around the
surprising behaviour.

Fixes #5790
2015-05-19 13:29:02 -07:00
Gourav Tiwari
a7e1126519 updated squash docs-section [ci skip]
I happen to squash my couple of commits and when followed steps from guide, I observed that I have to give a commit id after which I want to squash. If I don't provide one it picks last 3 commits, which might not include my commits to squash.
Refer: http://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git
2015-05-19 20:26:11 +00:00
Aaron Patterson
0e12300c5e parent_reflection should store only a reflection object
we should ask the reflection for its name rather than storing the
reflection name in two places (an array and a reflection object)
2015-05-19 16:11:53 -04:00
Rafael Mendonça França
21a60c15cc Merge pull request #20214 from kamipo/remove_unused_require
Remove unused require
2015-05-19 17:03:04 -03:00
Ryuta Kamizono
0cd355b8a8 Remove unused already require 2015-05-19 12:53:09 -07:00
Rafael Mendonça França
69bd88e820 Merge pull request #20207 from gouravtiwari/patch-7
doc changes for readability [ci skip]
2015-05-19 16:27:51 -03:00
Gourav Tiwari
17c10038c5 doc changes for readability [ci skip] 2015-05-19 19:24:35 +00:00
Rafael Mendonça França
7cd2b02190 Merge pull request #20157 from tak1n/master
Clarify view tests
2015-05-19 16:24:23 -03:00
Ryuta Kamizono
94736d7487 Remove require 'arel/visitors/bind_visitor'
This line introduced by the commit fd398475 for using
`Arel::Visitors::BindVisitor`. Currently it is not used.
2015-05-19 12:14:41 -07:00
Rafael Mendonça França
4b560bf96b Merge pull request #20212 from kamipo/avoid_heredoc
Avoid the heredoc in one line queries and simple queries
2015-05-19 16:06:46 -03:00
Ryuta Kamizono
653eb853b8 Avoid the heredoc in one line queries and simple queries
Related with #20028.
2015-05-19 12:01:41 -07:00
Rafael Mendonça França
ed0edb23e7 Merge pull request #20211 from kamipo/refactor_statement_pool
Eliminate the duplication code of `StatementPool`
2015-05-19 15:40:47 -03:00
Rafael Mendonça França
2c2047d439 Merge pull request #20210 from karanarora/Typo-fix
spelling fix [ci skip]
2015-05-19 15:21:19 -03:00
karanarora
644897a2b1 spelling fix [ci skip] 2015-05-19 23:47:35 +05:30
Ryuta Kamizono
f9e27bc582 Eliminate the duplication code of StatementPool 2015-05-19 11:17:19 -07:00