Commit Graph

2407 Commits

Author SHA1 Message Date
SA
46fc89faba fixed capitalizations [ci skip]
jQuery, SQLite3 and Unicorn use these respective capitalizations pretty much everywhere else in the comment sections of the project.
2014-05-17 15:24:13 +09:00
Hendy Tanata
f52a13cdf4 Replace first person point of view on guides.
[skip ci]
2014-05-16 17:15:00 -07:00
Yves Senn
779ff5cdeb doc, pg hstore and json columns are mapped as Hash. [ci skip]
Closes #15141.
2014-05-17 00:25:53 +02:00
Yves Senn
e83a6ff5b7 remove trailing whitespace. [ci skip] 2014-05-17 00:24:50 +02:00
Rafael Mendonça França
3acf28773b Merge pull request #15021 from hubertlepicki/allow_custom_host_in_asset_url
Allow custom asset host to be passed in asset_url
2014-05-16 13:31:20 -03:00
Leandro Facchinetti
b48bc869fa Document conflicts in db/schema.rb [ci skip] 2014-05-16 13:06:15 -03:00
Robin Dupret
ad3628b311 Update Redcarpet to 3.1.2
This version fixes an API breakage between 3.0 and 3.1 ; the header
method's arity should not have changed.

[ci skip]
2014-05-14 19:52:47 +02:00
Rafael Mendonça França
354fb0b54d Merge pull request #15095 from JuanitoFatas/doc/generators
[ci skip] Fix two factual errors and highlight code in generators guide.
2014-05-13 16:57:19 -03:00
Juanito Fatas
9a1e23a53c [ci skip] Fix a factual error and highlight code in generators guide. 2014-05-14 03:55:27 +08:00
Genadi Samokovarov
2efc64c1bc Remove falsy deprecation note in AS guides [ci skip]
This is no longer true as @jeremy removed the deprecation in 7a5601c.
2014-05-13 21:16:10 +03:00
Godfrey Chan
c29474ecd6 typo: resulution -> resolution [ci skip] 2014-05-12 15:37:26 -07:00
Yves Senn
df8a1b25d4 pg guide, PostgreSQL legacy table view example. [ci skip] 2014-05-11 13:47:30 +02:00
Rafael Mendonça França
a35f07e9da Merge pull request #15029 from JuanitoFatas/docpatch/routing
[ci skip] Minor improvements on routing.md.
2014-05-08 16:25:25 -03:00
Juanito Fatas
a0015772b3 [ci skip] Minor improvements on routing.md. 2014-05-09 03:03:50 +08:00
Hubert Łępicki
db9a5c5a1f Improve documentation for asset_url
Updated CHANGELOG.md with entry about :host in asset_url
2014-05-08 20:51:59 +02:00
Yves Senn
71e8adc354 pg guide, inet code example. [ci skip] 2014-05-08 11:34:59 +02:00
Ivan Tse
04051df419 Branch name should match in text and code example.
[ci skip]
2014-05-08 00:29:45 -04:00
vanderhoop
b345fc2511 fixed typos in active_record basics [skip ci] 2014-05-07 09:11:59 -04:00
Arun Agrawal
cbc554be3d Update links to new rails version in guides [ci skip] 2014-05-07 10:53:33 +02:00
Juanito Fatas
278872abfb [ci skip] Add feature section and normalize prologue with other guides.
Also change Json => JSON.

Fill Ruby's Range & IPAddr link.
2014-05-07 13:47:39 +08:00
Greg Molnar
fda729251a fix guides mobile nav issue [ci skip] 2014-05-06 22:59:27 +01:00
Xavier Noria
3fad674591 typo [ci skip] 2014-05-06 22:17:21 +02:00
Rafael Mendonça França
29ae431c51 Merge pull request #14997 from jpcody/nested_value_i18n
Include label value in i18n attribute lookup
2014-05-06 16:40:45 -03:00
Joshua Cody
d5f2c5c20e Include label value in i18n attribute lookup
Previously, only the object and method name from the label tag were
used when looking up the translation for a label. If a value is
given for the label, this ought to be additionally used. The
following:

    # form.html.erb
    <%= form_for @post do |f| %>
      <%= f.label :type, value: "long" %>
    <% end %>

    # en.yml
    en:
      activerecord:
        attributes:
          post/long: "Long-form Post"

Used to simply return "long", but now it will return "Long-form
Post".
2014-05-06 14:37:28 -05:00
Xavier Noria
daaa21bc7d several enhancements to humanize [closes #12288]
* Strips leading underscores.
* Changes some unnecessary gsub!s to sub!s.
* Replaces some anchors ^, $ with \A, \z.
* Documents that human inflection rules are applied.
* Documents that words are downcased except acronyms.
* Adds an example with an acronym.
* Rewords docs.
2014-05-06 21:35:40 +02:00
Yves Senn
69acb2b6e1 pg guides, some stylistic changes [ci skip] 2014-05-06 13:20:32 +02:00
Yves Senn
8d33a60697 pg guide, advanced features [ci skip] 2014-05-06 13:11:12 +02:00
Yves Senn
7ca75f3789 pg guide, datatypes and examples. [ci skip] 2014-05-06 13:09:56 +02:00
Nate Berkopec
220528548b Guides: output valid HTML5
[ci skip]
2014-05-05 17:42:04 -04:00
Robin Dupret
681fbecebd Merge pull request #14961 from jonatack/patch-7
Follow-up to #14905 and formatting pass [ci skip]
2014-05-04 20:16:22 +02:00
Jon Atack
88b7144dd3 Follow-up to #14905 and formatting pass
on the Getting Started guide.

[skip ci]

Added 2 changes suggested by @robin850 [skip ci]
2014-05-04 19:30:17 +02:00
Robin Dupret
275fdef886 Rails One Click is not maintained anymore [ci skip]
Let's tell people that they should rely on Tokaido instead of Rails One
Click.

Fixes #14960.
2014-05-04 15:31:04 +02:00
Yves Senn
b231825f3e Revert "Merge pull request #14940 from arunagw/hbakhtiyor-test-db-namespaces-ar"
This reverts commit fe9859600824268ff614cb3eb48b62c7165a1fbd, reversing
changes made to add9560643ef79830febf47fa1228752d1df3502.
2014-05-03 20:08:15 +02:00
Arun Agrawal
2de846852a Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi] 2014-05-03 19:34:18 +02:00
Vijay Dev
61d5731859 eliminate repetition in guide links for past releases [ci skip] 2014-05-02 17:45:43 +00:00
Rafael Mendonça França
4565cb7ccb Merge pull request #14942 from JuanitoFatas/patch/cc-by-sa-4-0
[ci skip] Update guides license to CC BY-SA 4.0 International.
2014-05-02 13:13:03 -03:00
Arun Agrawal
d4a2f7e8cc Added link for 4.1 guides on edge guide [ci skip] 2014-05-02 15:28:00 +02:00
Juanito Fatas
9b4dc59d5d [ci skip] Update guides license to CC BY-SA 4.0 International.
Benefits: https://creativecommons.org/version4
2014-05-02 18:49:37 +08:00
Robin Dupret
4142a3019c Follow up to 38ad5438 [ci skip]
This commit adds new lines between titles, paragraphs and code blocks
for an easier reading.

Moreover, in order to be consistent with the other guides, let's remove
the sharps on the right side of the different titles.

The "Running a Single Test" part was also explained after the "Testing
Active Record" one which shows how to run a single test under the scope
of a specific adapter.

Finally, let's explain the `-n` option to run a specific test method.
2014-05-02 12:10:19 +02:00
Kyle Heironimus
830839c3ec [ci skip] Security guide clarity. 2014-05-01 14:09:09 -05:00
Jon Atack
0128882680 the use of ... in place >> using ... instead
[ci skip]
2014-04-30 01:05:56 +02:00
Jon Atack
f591762ccf Update the Getting Started tutorial
Update the Getting Started tutorial to clarify where and how to add
controller actions, and fix some grammar.

This PR is an improved version of #14828, #14822 and #14815.

[skip ci]
2014-04-29 16:56:43 +02:00
Alejandro Andrés
535bd1a203 Added a missing end 2014-04-28 17:52:07 +02:00
Godfrey Chan
16cc914645 Revert "Don't rely on Arel master in bug report template [ci skip]"
This reverts commit fd6d7835.

We are back on arel master, see b395265f.
2014-04-27 10:26:56 -07:00
Vijay Dev
668d8420dc Merge branch 'master' of github.com:rails/docrails 2014-04-27 21:35:38 +05:30
Vijay Dev
9ace0a7ba1 Revert "Running AR tests on postgres, mysql & sqlite"
This reverts commit 28bd442034e0974d0a4d664076dafb8e9555816d.

Reason: Existing text was clearer imo.

[ci skip]
2014-04-27 21:29:15 +05:30
Vijay Dev
afa3557917 Merge pull request #14872 from jonatack/patch-7
Grammar and formatting fixes in Form Helpers Guide
2014-04-27 01:17:17 +05:30
Jon Atack
10c4a3ea10 Fix code & grammar in Form Helpers Guide
in the "Forms to External Resources" section [skip ci]
2014-04-25 20:48:06 +02:00
Jon Atack
c354d33990 Grammar and formatting fixes in Form Helpers Guide
Improved version of #14851 after helpful feedback from @robin850 and @matthewd.

[skip ci]
2014-04-25 20:26:47 +02:00
Guo Xiang Tan
1c2484d4eb Improve readability of contributing to rails guide. [ci skip] 2014-04-23 12:36:06 -07:00