Jeremy Kemper
35db2bcd82
Remove mention of long-gone initializer and config
...
Serving public files from multiple paths was removed in
afc828828ffffe7edeb4648a9d2aa4731191ae21
2015-03-03 11:46:56 -07:00
Eileen M. Uchitelle
f08c3f737b
Merge pull request #19106 from teeceepee/patch-1
...
Improve guides [ci skip]
2015-03-02 09:50:55 -05:00
Yu Haidong
b7aa845c01
Modify guides for a better sounding sentence
2015-03-02 22:30:59 +08:00
Robin Dupret
565bf8926e
Merge pull request #19168 from gsamokovarov/byebug-defaults-guide
...
Nit pick the byebug settings guide for default values [ci skip]
2015-03-02 13:06:55 +01:00
Robin Dupret
76e37e6fa8
Merge pull request #19097 from gsamokovarov/web-console-guide
...
Web Console documentation for the upcoming 2.1 release [ci skip]
2015-03-02 13:06:04 +01:00
Genadi Samokovarov
62dfb16842
Nit pick the byebug settings guide for default values [ci skip]
...
In #19097 we had a discussion where we decided to change `byebug`
settings sections default part to actually say `defaults`.
2015-03-02 14:05:08 +02:00
Genadi Samokovarov
f46b198142
Web Console documentation for the upcoming 2.1 release [ci skip]
...
With the upcoming 2.1 [web-console release], I have tweaked the existing
documentation a bit. I tried to focus on the spawning console use case,
because I think a lot of people overlook that.
Tried to explain it as best as I can, however, my English and prose
aren't my best skills :) If you guys can chime in and help me improve
the wording, I would be extremely grateful.
There has been some configuration default changes. For example, the
whitelisted IPs always include IPv4 and IPv6 localhosts now and this
wasn't the case in 2.0. I think a lot of people got bitten by it, that's
why I changed it. I'm a bit confused on how to document this. Should I
just document the latest version, I don't think I can expect all the
people reading the guide to be on it.
[web-console release]: https://github.com/rails/web-console/pull/110
2015-03-02 13:53:51 +02:00
Kevin Jayanthan
c7172f5040
Fixing incorrect class name used in an example.
...
On "Controller Namespaces and Routing" section of the "Rails Routing from the Outside In" , the examples are using "AritclesController" as an example of a controller, to show different organizers. But on the line 232, it incorrectly uses "PostsController" instead of "AritclesController".
2015-03-02 14:56:31 +05:30
Arthur Nogueira Neves
485e125668
Merge pull request #19159 from stephenminded/docs_fix_polymorphic_index
...
[docs fix] Composite index is actually [:imageable_type, :imageable_id]
2015-03-01 23:01:15 -05:00
Todd Bealmear
c7a37c10ad
Add Enumerable#without
2015-03-01 18:45:45 -08:00
Steve Lounsbury
ec85f9da29
Composite index is [:imageable_type, :imageable_id] [ci skip]
2015-03-01 21:38:41 -05:00
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
Yu Haidong
ffda39f364
Improve guides
2015-02-27 11:26:10 +08:00
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