Commit Graph

36146 Commits

Author SHA1 Message Date
Trevor Turk
70ff81075d The default route has been removed 2013-03-18 06:22:08 -05:00
Trevor Turk
efea57a33b Using match without via is deprecated 2013-03-18 06:21:38 -05:00
Tatsuro Baba
396bb77199 Capitalize the first letter of sentence 2013-03-18 18:31:24 +09:00
Bryan Ricker
fa63f83fd4 Remove :all from *args options in AbstractController.helper 2013-03-16 15:21:42 -07:00
Mikhail Dieterle
387928c234 Capitalize first letter in sentence 2013-03-16 11:08:01 +03:00
Francesco Rodriguez
79af9e938f nodoc AR::ConnectionHandling for adapters [ci skip] 2013-03-15 19:20:53 -05:00
Mikhail Dieterle
65d681f5e3 Update action_controller_overview.md 2013-03-16 01:14:54 +03:00
Mikhail Dieterle
3aa3880cfb fix markup of controllers guide 2013-03-16 01:02:21 +03:00
Mikhail Dieterle
0ddae9fcf6 fix typo in form helpers guide 2013-03-15 22:48:41 +03:00
Robin Dupret
e42d60780d Unmatched parenthesis fix 2013-03-15 19:28:43 +01:00
Tim Lowrimore
aec466e752 added details to section 4.1.2 of the Asset Pipeline guide, describing how to configure Apache to serve the gzipped version of the precompiled assets 2013-03-15 12:36:16 -05:00
Limon Lin
6e0aafbba2 Should be a symbol not string to defer the choice of layout.
[ci skip]
2013-03-15 13:14:26 +08:00
Waynn Lue
c9f75463bf make the headers consistent 2013-03-14 18:03:17 -07:00
Vipul A M
d41c279bf1 do some typo fixing 2013-03-14 10:12:54 +05:30
Vipul A M
e23413bfca fix missing to 2013-03-14 02:02:56 +05:30
Angelo capilleri
74c3b7f6f6 fix absence validator doc for boolean field 2013-03-13 14:18:37 +01:00
Angelo capilleri
8b3483f0a8 absence validator doc 2013-03-13 14:15:15 +01:00
Waynn Lue
008fd54e74 clarify verbiage 2013-03-12 18:44:10 -07:00
Patrick Helm
680fab8308 Fix missing closing <tt> tag 2013-03-12 18:18:09 +01:00
Alexey Muranov
694c9ed6c3 Fix my typo 2013-03-12 18:02:00 +01:00
Alexey Muranov
b6cf11138c Align indentation in comments 2013-03-12 17:22:07 +01:00
Alexey Muranov
99c741e35b Document nested attributes as hash of hashes
Document the possibility to use a hash of hashes for nested attributes for a one-to-many association (in addition to the documented possibility to use an array of hashes).
2013-03-12 17:21:39 +01:00
Daniel Lobato
672ffd4cd4 Uniq cannot be used directly on an ActiveRecord model. 'DISTINCT field' is the only pluck query that translates into the aforementioned SQL 2013-03-12 11:11:43 +01:00
Waynn Lue
dbafd36a2d update README since email-service isn't a word 2013-03-11 15:41:44 -07:00
Neeraj Singh
402a899033 Minor copy editing 2013-03-11 16:41:29 -04:00
capps
d5c7257e75 I think "uniq" is more Rails-y than select("distinct(categories.id)") 2013-03-11 08:10:43 -07:00
Vijay Dev
b938f08a33 Merge branch 'master' of github.com:lifo/docrails 2013-03-10 00:09:26 +05:30
Vijay Dev
be3e402c79 copy edits [ci skip] 2013-03-10 00:06:51 +05:30
Carlos Antonio da Silva
b3a31e9363 Fix AMo code example indent, add missing author to entry [ci skip] 2013-03-09 14:57:31 -03:00
Jon Leighton
72be5bb557 Bump up timeouts
This should fix travis.

Also ensuring that we don't try to kill when pid is nil.
2013-03-09 17:52:32 +00:00
Steve Klabnik
c614b76499 Merge pull request #9629 from wangjohn/numbering_of_applicationrb_is_off
Renumbering the comments in the application boot process.
2013-03-09 09:43:42 -08:00
wangjohn
ff25b0e55f Renumbering the comments in the application boot process. 2013-03-09 12:42:02 -05:00
Carlos Antonio da Silva
afd3ade43d Merge pull request #9627 from rubys/master
ensure response.stream is closed
2013-03-09 09:22:45 -08:00
Sam Ruby
c41b768a78 ensure response.stream is closed 2013-03-09 12:08:37 -05:00
Jeremy Kemper
0b93c259fa Merge pull request #9621 from sakuro/migration-magic-comment-fix
Preserve magic comments and content encoding of copied migrations.
2013-03-09 08:23:21 -08:00
Carlos Antonio da Silva
3a210da65f Merge pull request #9616 from exviva/multiple_select_name_double_square_brackets
Fix incorrectly appended square brackets to a multiple select box

Before:

    select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
    # => <select name="post[category][][]" ...>

After:

    select(:category, [], {}, {:multiple => true, :name => "post[category][]"})
    # => <select name="post[category][]" ...>
2013-03-09 06:48:04 -08:00
Carlos Antonio da Silva
01c891824e Merge pull request #9623 from Agis-/patch-2
Remove extra whitespace and fix a comment
2013-03-09 05:45:07 -08:00
Agis Anastasopoulos
3e61a55a8b Remove extra whitespace and fix a comment
minor comment fix for consistency
2013-03-09 15:32:54 +02:00
Yves Senn
41b9e86f9e fixed typo in strong parameters example 2013-03-09 12:21:28 +01:00
Yves Senn
1d8b566478 strong parameter example for hashes with integer keys.
This replicates the situation described in
https://github.com/rails/strong_parameters/issues/114
2013-03-09 12:18:34 +01:00
OZAWA Sakuro
c3a26c592c Preserve magic comments and content encoding of copied migrations.
During insertion of "# This migration comes from ... " comment at the beginning of
a migration, presence of magic comment was not considered.
2013-03-09 15:38:02 +09:00
Carlos Antonio da Silva
11dd15a5c2 Fix failing test regarding console change to fix sandboxing
Introduced in be3e10cd26bc8ec29c6474d03a08a8e733108e7d.
2013-03-08 21:48:28 -03:00
Fabrizio Regini
1fe5d36e11 Adding a note for :body option in mail method. 2013-03-08 23:29:58 +01:00
Vijay Dev
e3c56ad913 Merge pull request #8670 from sanemat/fix/rake-desc
Add rake test description
2013-03-08 11:21:01 -08:00
Olek Janiszewski
8e05a6f638 Fix incorrectly appended square brackets to a multiple select box
If an explicit name has been given and it already ends with "[]"

Before:

    select(:category, [], {}, multiple: true, name: "post[category][]")
    # => <select name="post[category][][]" ...>

After:

    select(:category, [], {}, multiple: true, name: "post[category][]")
    # => <select name="post[category][]" ...>
2013-03-08 19:01:32 +01:00
Rafael Mendonça França
6183fa7281 Merge pull request #9614 from wangjohn/refactoring_nested_associations_for_readability
Refactored nested associations so they are more readable.
2013-03-08 08:55:16 -08:00
wangjohn
dbc4134385 Refactored nested associations so they are more readable. Added comments
which make it clearer about what's going on.
2013-03-08 11:44:13 -05:00
Carlos Antonio da Silva
a2d57fd6b9 Fix changelog indent, remove self from method call in changelog/doc examples
[ci skip]
2013-03-08 12:35:45 -03:00
Jon Leighton
e5fc096bea The console --sandbox transaction should not be joinable
Thanks @neerajdotname for noticing this bug.
2013-03-08 15:10:46 +00:00
Rafael Mendonça França
8f9c81b15c Make sure options is a hash 2013-03-08 11:59:50 -03:00