Commit Graph

2267 Commits

Author SHA1 Message Date
Josef Šimánek
981dda53db Use generated binstubs in guides examples.
[ci skip]
2014-05-20 13:29:18 +02:00
Rafael Mendonça França
09cc922ed3 Merge pull request #15155 from dskang/digest
Default config.assets.digests to true in development
2014-05-19 14:47:39 -03:00
Yves Senn
c6ee495e2e Merge pull request #14962 from arunagw/aa-fix-rake-activerecord
Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi]
2014-05-19 09:34:43 +02:00
Yves Senn
e153fbfe63 pg guide, move introductory sentences into main content. [ci skip]
This is a reaction to 7ca75f3789 (commitcomment-6303828)
2014-05-19 09:14:58 +02:00
Robin Dupret
623da13256 A tiny pass through the PostgreSQL guide [ci skip] 2014-05-18 18:58:50 +02:00
Vijay Dev
ddf32daed8 copy edits[ci skip] 2014-05-18 16:01:31 +00:00
Gaurav Sharma
67de652fbb remove ecosystem link that is broken 2014-05-18 19:17:09 +05:30
Dan Kang
f369bcf9a0 Default config.assets.digests to true in development 2014-05-17 23:01:22 -04:00
Zachary Scott
7caf3ffffd Document method visibility for designing API docs. [ci skip]
cc https://github.com/rails/rails/issues/14848#issuecomment-41198795
2014-05-17 16:11:33 -03:00
regonn
902fef371a fix symbol 2014-05-17 22:39:49 +09:00
Vijay Dev
13e8c80363 prefer file name instead of filename [ci skip] 2014-05-17 08:58:22 +00: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
Arun Agrawal
da4d841e16 Reorganize ActiveRecord tasks [Arun Agrawal & Abd ar-Rahman Hamidi] 2014-05-16 23:09:05 +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
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
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