Steve Lounsbury
683ad0b471
Indexing a polymorphic assoc adds index on type and id [ci skip]
2015-03-01 14:06:38 -05:00
yui-knk
a1035ad238
[ci skip] Fix fenced code block lang
2015-03-02 00:37:58 +09:00
yui-knk
d1a503be9b
[ci skip] Add .
2015-03-01 21:23:09 +09:00
yui-knk
a113c95874
[ci skip] Fix fenced code block lang
2015-03-01 10:44:57 +09:00
Yves Senn
9b4d8b8fbe
Merge pull request #19130 from yui-knk/fix/active_support_core_extensions2
...
[ci skip] Fix to comment
2015-02-28 18:30:35 +01:00
yui-knk
c9f0f84d7c
[ci skip] Fix to comment
2015-03-01 02:04:27 +09:00
yui-knk
0a3afe236b
[ci skip] Fix to String
2015-03-01 01:40:02 +09:00
Yves Senn
c93f808ea5
Merge pull request #19125 from y-yagi/testing_guide
...
add `ActiveJob::TestCase` to list of classes providing for test [ci skip]
2015-02-28 16:38:14 +01:00
yuuji.yaginuma
4b0f0bc37e
add ActiveJob::TestCase
to list of classes providing for test [ci skip]
2015-02-28 23:31:11 +09:00
Guillermo Iguaran
433d439b79
Merge pull request #19123 from yui-knk/fix/active_support_instrumentation2
...
[ci skip] Remove `,`
2015-02-28 09:28:17 -05:00
yui-knk
52cae7d558
[ci skip] Remove ,
2015-02-28 22:08:55 +09:00
yui-knk
b008bfddbd
[ci skip] Replace ActiveResource
with Active Resource
2015-02-28 22:02:13 +09:00
yui-knk
d495592541
[ci skip] Fix table of 4_1_release_notes.md
2015-02-28 18:24:15 +09:00
Richard Venneman
29165739d9
Remove reference to workingwithrails.com since it is being retired
2015-02-27 22:18:53 +01:00
Rafael Mendonça França
75aa573c8b
Don't recommend to precompile all assets
...
It is very slow since it will precompile even plugins.
Also it is very unlikely that any application will use this patterns
since it is not a good practice to include all assets manually in the
page.
[ci skip]
2015-02-27 14:56:08 -03:00
Yury Otcheski
8526921d29
Guides mistake about page caching.
...
DHH's key-based cache expiration isn't alternative to page caching. It's true about action caching but not page caching. I propose to remove this line as confusing, page caching is still best if applicable.
[ci skip]
2015-02-27 18:36:28 +03:00
Aditya Kapoor
98d1ea7411
[ci-skip] correct doc about custom validators
2015-02-27 19:25:25 +05:30
Abdelkader Boudih
75ddb54eb0
Merge pull request #19107 from prathamesh-sonpatki/template-inheritance
...
Fix wording in template inheritance section of layout guide [ci skip]
2015-02-27 05:28:08 +00:00
Prathamesh Sonpatki
7019b19615
Fix wording in template inheritance section of layout guide [ci skip]
2015-02-27 10:55:10 +05:30
Waseem Ahmad
c2c844e600
Section explaining how rails runner accepts code in a ruby file.
...
[ci skip]
2015-02-26 21:39:49 +05:30
Akira Matsuda
b940e9feea
:nailcare:
2015-02-26 23:21:45 +09:00
Rafael Mendonça França
89e051ace3
Merge pull request #16738 from net-engine/guides-template-inheritance
...
Guides: Template Inheritance (new in guides, feature in since 3.1)
2015-02-25 20:34:05 -03:00
Robin Dupret
803ef74f9b
Tiny documentation edits [ci skip]
2015-02-24 22:22:15 +01:00
yui-knk
53a9c669d4
[ci skip] Fix Object-Relational
to Object Relational
2015-02-24 00:39:59 +09:00
Josef Šimánek
6576f7354e
Require belongs_to
by default.
...
Deprecate `required` option in favor of `optional` for belongs_to.
2015-02-21 23:03:10 +01:00
Robin Dupret
bab3c7c63d
Minor guides edits [ci skip]
2015-02-21 18:52:47 +01:00
Konstantinos Rousis
793ff7585b
Improve wording on find_by note regarding returning only one record [ci skip]
2015-02-21 16:44:05 +01:00
Kasper Timm Hansen
56e788edb3
[ci skip] Use explicit module namespace in guide
...
The Engines guide used an inline namespace, `Blorgh::ApplicationController`, which caused problems for users using an
explicit module namespace because the `ApplicationController` inherited from wasn't fully qualified.
The controller qualification was fixed in 661479324d573d419d8e15a1ea257e01856084af.
This ditches the inline namespace and makes the example more consistent with others in the guide.
2015-02-21 13:34:22 +01:00
Yves Senn
661479324d
guides, fully qualify ApplicationController
. Closes #19024 .
2015-02-21 11:24:56 +01:00
Rafael Mendonça França
787bbb8fba
Oops 💣
2015-02-20 21:01:08 -02:00
Rafael Mendonça França
f55bfe7260
Change the deprecation messages to show the preferred way to work with
...
ActiveModel::Errors
2015-02-20 20:58:58 -02:00
Rafael Mendonça França
027d484f1d
Prefer request_id over uuid and test the alias
2015-02-20 20:47:59 -02:00
Marcel Morgan
30afeb7eb5
Use sentence case for consistency in comments
...
[ci skip]
2015-02-20 12:47:55 -05:00
yuuji.yaginuma
66e2e19bc0
use messages
instead of deprecated ActiveModel::Errors#[]=
method [ci skip]
2015-02-20 23:53:36 +09:00
Bart
c2f59f37c6
Fix code sample for custom exception handler [ci skip]
2015-02-19 15:22:27 +01:00
Rafael Mendonça França
4ffe46f5fe
Merge pull request #18411 from todd/extract_record_tag_helper
...
Remove RecordTagHelper
2015-02-18 19:19:48 -02:00
Rafael Mendonça França
e07eb079bf
Merge pull request #15700 from maurogeorge/guides-local_assigns
...
Add docs about local_assigns on guides
2015-02-18 17:34:37 -02:00
Rafael Mendonça França
ef4afb65b2
Talk about Gemfile.lock in the contributing guide
...
[ci skip]
2015-02-18 16:37:43 -02:00
Carlos Antonio da Silva
28fccad2c4
Merge pull request #18984 from rousisk/master
...
Replace deprecated readonly option with scope blocks in docs and guide
2015-02-18 10:47:32 -02:00
Xavier Noria
9814eb6427
constants guide: adds a step to a resolution algorithm
...
Not sure how this one slipped, maybe deleted by accident while editing or
something. Anyway, fixed.
2015-02-18 12:37:19 +01:00
Konstantinos Rousis
6ef2ce0aed
Replace deprecated readonly option with scope blocks in docs and guide
2015-02-18 09:44:43 +01:00
Nicolas Maloeuvre
b4c3a7700b
fix type in guide - missing word
2015-02-18 05:01:15 +01:00
Zachary Scott
af59f6d530
Merge pull request #18843 from yuki24/guides-add-guide-for-mail-preview
...
Add guide for Action Mailer Previews
2015-02-17 15:04:49 -08:00
Yves Senn
5ff0805519
Merge pull request #18961 from vipulnsward/deprecate-start-value
...
Deprecated passing of `start` value to `find_in_batches` and `find_each`
2015-02-17 09:50:22 +01:00
Vipul A M
6598272770
Deprecated passing of start
value to find_in_batches
and find_each
in favour of begin_at
value.
2015-02-17 14:10:35 +05:30
Zachary Scott
de537263a7
Revert c732a66:
...
* "rm docs for dependency_loading and disable_dependency_loading config"
It was added back in a71350cae0082193ad8c66d65ab62e8bb0b7853b by @tenderlove
See also #13142
2015-02-16 15:21:52 -08:00
Zachary Scott
05b6e5d8b7
Merge pull request #18960 from ctaintor/remove_dependency_doc
...
removes documentation that is no longer relevant
2015-02-16 12:57:50 -08:00
Case Taintor
c732a66d09
removes docs for dependency_loading config option and disable_dependency_loading initializer because it was removed by commit a8bf12979e5fa15282b39c8cfa315e663f613539
2015-02-16 22:42:04 +02:00
Todd Bealmear
01e94ef3b1
Remove RecordTagHelper, add extraction notices
...
Per DHH in #18337 , ActionView::Helpers::RecordTagHelper has been
extracted to an external gem (source currently lives at
todd/record_tag_helper). Removal notices have also been added for anyone
upgrading that use the extracted methods.
2015-02-16 11:35:27 -08:00
Zachary Scott
d9f8b58d98
Merge pull request #18485 from andreynering/robots.txt
...
Adding 'Search Engines Indexing' Section [ci skip]
2015-02-16 10:08:01 -08:00