Commit Graph

2493 Commits

Author SHA1 Message Date
Zachary Scott
e0f3f1a565 Document behavior concerns regarding the full Rails stack [ci skip]
Related to a discussion on #15508
2014-06-13 10:40:53 -07:00
Zachary Scott
f12d6367ad Add links to RDoc back into API documentation guidelines [ci skip]
These were removed from #15542 unfortunately :(
2014-06-13 10:10:43 -07:00
Yves Senn
9a0c2e5c62 pg guide, minor copy edits 2014-06-13 10:07:35 +02:00
Sean Griffin
4e009eec3d Merge pull request #15667 from samdec/mailer_doc_bug_fix
fix bug in email with name example code
2014-06-12 17:04:00 -06:00
Sam DeCesare
fd984e8500 fix bug in email with name example code
The display name in the email "to" field needs to be quoted otherwise
your email-sending service will fail when trying to deliver mail to
user's with commas in their name (i.e. John Smith, M.D.).
2014-06-11 17:41:06 -07:00
Zachary Scott
2ef44ff13b Merge pull request #15657 from JohnRiv/guides_asset_pipeline_local
[ci skip] There are 3 caveats to Local Precompilation including 1 config change
2014-06-11 17:21:14 -07:00
John Riviello
c43abb1ade There are 3 caveats to Local Precompilation including 1 config change
not 2 caveats with one of them being 2 config changes [ci skip]
2014-06-11 17:47:13 -04:00
John Riviello
53d05d5989 Updating argument names in default matcher for compiling files
to match arguments used in sprockets-rails [ci skip]
2014-06-11 17:39:35 -04:00
Yves Senn
ef4e0787d7 cleanup, get rid of trailing whitespace. [ci skip]
Follow up to #15636.

/cc @hundredwatt
2014-06-11 13:55:18 +02:00
Jason Nochlin
02ef031341 Fix Apache Directives [ci skip]
Directives need to be placed on their own lines in order to work. Tested on: `Server version: Apache/2.2.22 (Ubuntu); Server built:   Mar 19 2014 21:11:15`
2014-06-11 07:01:42 -04:00
Aditya Kapoor
f651d352eb Correct Bundler link [ci skip] 2014-06-11 01:45:55 +05:30
Juanito Fatas
2e1903822a [ci skip] Refine Action Mailer guide.
* Wrap 80 words if possible.
* Make attachment hash options more readable. (L239-L243)

  Before:

  ![screenshot 2014-06-11 02 59 54](https://cloud.githubusercontent.com/assets/1000669/3235432/a91d0464-f0d2-11e3-9e4a-6af2b2a83f1a.png)

   After:

  ![screenshot 2014-06-11 02 59 36](https://cloud.githubusercontent.com/assets/1000669/3235428/a47b28dc-f0d2-11e3-806c-cfaedd3f15df.png)

* L619 Wrap "location" in code: `"location"`.
* L628 Use actual section name.
* L697 Remove unnecessary `./` when refer to other guide.
2014-06-11 03:13:10 +08:00
Yves Senn
fcd0ac066e docs, refactor docs about column modifiers. [ci skip] [Matthew Draper & Yves Senn]
This is a follow up to #15602 which rendered the guides in a weird state:

  >  You can also specify some options just after the field type between curly
     braces. You can use the following modifiers:

  >  `null`         Allows or disallows `NULL` values in the column.

  >  NOTE: `null` and `default` cannot be specified via command line.

The modifiers are now moved into a separate section. The generator
simply referes to that section.

Related to #15583.

/cc @JuanitoFatas
2014-06-10 10:25:57 +02:00
Juanito Fatas
c4c3a44685 [ci skip] Rename: Rails Database Migration to Active Record Migration.
This will need to setup permanent redirect for the old guide.
2014-06-10 15:41:15 +08:00
Juanito Fatas
0d6351348d [ci skip] Add note about type modifiers that cannot be specified in command line. 2014-06-10 13:38:08 +08:00
Yves Senn
a5c12cbd3c pg guide, add index to PostgreSQL array example. [ci skip] 2014-06-09 12:58:36 +02:00
Kalman Hazins
1a69112d6a Update migrations.md
default column type modifier
2014-06-08 10:29:57 -04:00
Aditya Kapoor
269ad13be7 Correct Example output in Rails guides [ci skip] 2014-06-07 20:58:29 +05:30
Vijay Dev
a39c88b5c9 copy edits [ci skip] 2014-06-07 10:53:25 +00:00
Vijay Dev
b9ea1d3384 Merge branch 'master' of github.com:rails/docrails 2014-06-07 10:05:23 +00:00
Akshay Vishnoi
b6760d8f14 [ci skip] Fix capitalization 2014-06-07 14:23:27 +05:30
Gaurav Sharma
19ef270923 remove rubyforge.org that was shut down [ci skip] 2014-06-06 22:26:56 +05:30
Yves Senn
92f9ada352 docs, update includes + where example in AR guide. [ci skip]
Closes #15541.
2014-06-06 09:16:12 +02:00
Jonathan Powers
d99172e450 Update getting_started.md
It's not very clear exactly what the "params" method is and does, as the current description in the guide is somewhat vague and brief. An example is helpful, especially considering this method is referenced over 30 times in this guide. [ci skip]
2014-06-05 00:26:56 -05:00
Jonathan Powers
4316f2abed Update getting_started.md
It may be confusing to a Rails newbie why "Article" is suddenly being referred to with the "A" being capitalized. Thus far in the guide, the "a" has always been in lowercase. I think it is helpful to point out the reason for this change (especially since not using the capital "A" will result in an error). [ci skip]
2014-06-05 00:25:41 -05:00
Mauro George
d5e691a36e Pluralize params 2014-06-03 18:58:16 -03:00
Mauro George
f5ae493299 Add default_i18n_subject to the guides
[ci skip]
2014-06-03 18:41:07 -03:00
Ari Pollak
742b57475a Fix typo in ActionController Overview
* Should say "sensitive" instead of "sensible"
2014-06-02 16:48:10 -04:00
schneems
071373857d [ci skip] explain association behavior.
When you manually specify `id:` attribute in a fixture Rails' built in association assignment feature will no longer work. http://stackoverflow.com/questions/23985675/incorrect-association-in-fixtures

This commit raises awareness of this behavior and encourages developers to look directly at the fixture documentation.
2014-06-02 10:43:01 -05:00
schneems
a93f385c2b [ci skip] add fixture docs link to guides
The fixtures API docs are really comprehensive. We should either be driving people there, or perhaps making fixtures its own guide.
2014-06-02 10:38:03 -05:00
Zachary Scott
87cc918daa 💅 for migrations guide from #15457 [ci skip] 2014-06-01 14:02:04 -07:00
Zachary Scott
1cfa4cc23d Merge pull request #15457 from maurogeorge/add-changing-columns
Create Changing Columns on migrations guides [ci skip]
2014-06-01 13:59:22 -07:00
Zachary Scott
53c26fcaee Remove docs regarding grouping multiple values, as we should avoid
duplicating API reference in guides. Also ✂️ [ci skip]
2014-06-01 13:56:09 -07:00
Zachary Scott
22820f7bbe Merge pull request #15459 from maurogeorge/add-total-grouped-items
Add Total of grouped items to Active Record query interface on guides [ci skip]
2014-06-01 13:54:56 -07:00
Mauro George
08855064cd Add Total of grouped items to AR query interface on guides
[ci skip]
2014-06-01 10:58:24 -03:00
Mauro George
9477f4372f Create Changing Columns on migrations guides
[ci skip]
2014-06-01 09:55:11 -03:00
Vijay Dev
4ae90a7dd8 Merge branch 'master' of github.com:rails/docrails 2014-06-01 11:46:37 +00:00
Jon Atack
6237ebc0f8 config.assets.digests -> config.assets.digest
in Asset Pipeline guide.

[skip ci]
2014-06-01 12:40:47 +02:00
Zachary Scott
a70b9ba62e Removed 'Caching with Rails' guide from WIP, this guide isn't ready to
be published and requires more attention. [ci skip]
2014-05-31 12:17:06 -07:00
George Ogata
1033b7fb52 Update guides to mention 3.2.18.
And reword things a little to mention the specific patch release less.
2014-05-30 11:52:00 -04:00
Rafael Mendonça França
c36c7fc747 Change the version schema to reflect how deprecations are handled
[ci skip]

We only introduce new deprecations at Minor releases.
2014-05-30 11:44:55 -03:00
Leandro Facchinetti
dcc532d2fb Update Minitest references in Testing Guide
The Guide references `test/unit`, which has been replaced by `Minitest` in
all versions of Ruby supported by Rails. The following updates were
performed:

* The superclass of `ActiveSupport::TestCase` is no longer
  `MiniTest::Unit::TestCase`, but `Minitest::Test` [1].

* The preferred spelling is `Minitest`, not `MiniTest` [2].

* For a method to be a test in Minitest, its name must start with `test_`,
  not only `test` [3].

* Explanations about `test/unit` in Ruby 1.8 were removed in favor of more
  up-to-date information on `Minitest`.

[1]: 6c2b569660/activesupport/lib/active_support/test_case.rb (L18)
[2]: d5d43cef9a/lib/minitest.rb (L9)
[3]: d5d43cef9a/lib/minitest/test.rb (L62)
2014-05-30 09:37:41 -03:00
Yves Senn
7ba6b75910 bin/setup script to bootstrap applications. 2014-05-30 11:15:56 +02:00
Juanito Fatas
5e3c0b28b8 [ci skip] Document Rails' shifted semver. 2014-05-30 11:40:02 +08:00
Zachary Scott
6daa46621b Generated engines don't include bin/rake, fixes #15409 [ci skip] 2014-05-29 13:49:29 -07:00
Zachary Scott
214423f401 Add missing period from 4b802bc [ci skip] 2014-05-29 13:17:28 -07:00
Nathan Youngman
4b802bc4f1 Fix broken link in Rails 3.0 release_notes 2014-05-29 14:10:21 -06:00
Juanito Fatas
29cefc1165 [ci skip] Make last note show up in postgresql guide. 2014-05-29 17:23:59 +08:00
Zachary Scott
d5601041fe Add @senny's changed from #14741, including code font for resources
options, and wrapped to 80 chars. [ci skip]
2014-05-29 00:20:40 -07:00
Zachary Scott
ec7fee4982 Merge branch 'master' of github.com:zackperdue/rails into zackperdue-master 2014-05-29 00:18:52 -07:00