Commit Graph

24236 Commits

Author SHA1 Message Date
Vishnu Atrai
745d90bde3 remove deprication warning: ambiguous first argument; put parentheses or even spaces 2011-08-13 16:22:17 -07:00
Aaron Patterson
797d2254d7 fixing tests on ruby trunk 2011-08-13 16:22:17 -07:00
Aaron Patterson
7934ffe5e9 fixing whitespace errors 2011-08-13 16:22:17 -07:00
Vishnu Atrai
5a92c6627e remove deprication warning for ruby 1.9.3-head for unused variables 2011-08-13 16:22:17 -07:00
Damien Mathieu
838ec4b645 use sprocket's append_path and assert_match 2011-08-13 16:22:17 -07:00
Piotr Sarnacki
182a428418 Revert "allow select to have multiple arguments"
This reverts commit 04cc446d17.

I reverted it because apparently we want to use: select([:a, :b])
instead of select(:a, :b), but there was no tests for that form.
2011-08-13 16:22:17 -07:00
Sławosz Sławiński
e7f7439d06 allow select to have multiple arguments 2011-08-13 16:22:16 -07:00
Franck Verrot
5004aaffc1 Simplify the test by using id and name. id will be the only real sort criteria in any case as it's unique. 2011-08-13 16:22:16 -07:00
Santiago Pastorino
16e3c40426 use_sprockets is not used anymore 2011-08-13 16:22:16 -07:00
Santiago Pastorino
33ee3898ef Bump sprockets up 2011-08-13 16:22:16 -07:00
Santiago Pastorino
34ca9c122c Check that Rack::Sendfile is not included unless config.action_dispatch.x_sendfile_header is set 2011-08-13 16:22:16 -07:00
Santiago Pastorino
cd5f54cfb6 Bump rack up. Closes #2107 2011-08-13 16:22:16 -07:00
Erik Michaels-Ober
6d4f916218 Add documentation for :format => true 2011-08-13 16:22:15 -07:00
Erik Michaels-Ober
710c5eaf2f Allow a route to have :format => true
When format is true, it is mandatory (as opposed to :format => false).
This is currently not possible with resource routes, which automatically
make format optional by default.
2011-08-13 16:22:15 -07:00
Santiago Pastorino
5b5b22acb5 Remove unused use_sprockets config 2011-08-13 16:22:15 -07:00
Santiago Pastorino
19ac034bdc Don't use Rack::Sendfile middleware if x_sendfile_header is not present 2011-08-13 16:22:15 -07:00
Xavier Noria
b537595665 Revert "Explicitly included hashes in sentence regarding SQL-injection-safe forms"
Reason: The hash form is secure, and preferred over the array form if possible.

This reverts commit 6dc749596c.
2011-08-13 16:22:15 -07:00
Xavier Noria
19122e767c Revert "grammatical changes"
Reason: As discussed in GitHub, it is debatable, and present tense
is fine (and simple, and preferred).

This reverts commit 54ccda9f0a5e4a5e72a4c159dc8787faaf65e8a2.
2011-08-13 16:22:15 -07:00
Rashmi Yadav
111347f0cc The trailing '/' isn't being picked up by Github anyway, and the link works as is. 2011-08-13 16:22:15 -07:00
Waynn Lue
0012a9e9d4 The trailing '/' isn't being picked up by Github anyway, and the link works as is. 2011-08-13 16:22:14 -07:00
JudeArasu
fbd3e38d76 grammatical changes 2011-08-13 16:22:14 -07:00
Vijay Dev
e4d8a95443 typo fix 2011-08-13 16:22:14 -07:00
Vijay Dev
688b0c318f minor changes in migrations guide 2011-08-13 16:22:14 -07:00
Vijay Dev
5adb90a14f fixed incorrect tags 2011-08-13 16:22:14 -07:00
pbflinn
ff0b1a3cc6 Fix typo 'console' -> 'constant' 2011-08-13 16:22:14 -07:00
Vishnu Atrai
1ea8d9c38d Active Resource - guide for destroy 2011-08-13 16:22:13 -07:00
Vishnu Atrai
212654be02 Active Resource - guide for update/save 2011-08-13 16:22:13 -07:00
Vishnu Atrai
aa9da1fe70 Active Resource - guide for create 2011-08-13 16:22:13 -07:00
Vishnu Atrai
61899bff17 Active Resource - guide for reading and writing data 2011-08-13 16:22:13 -07:00
Waynn Lue
55296ec0ea typo in "wont" 2011-08-13 16:22:13 -07:00
Vijay Dev
8f6959d5a4 3.1 release notes Active Record changes, Architectural changes and
organizing sections.
2011-08-13 16:22:13 -07:00
Arun Agrawal
8015acf032 Adding more info as rake about is fixed 2011-08-13 16:22:12 -07:00
Arun Agrawal
0e715d0b8c Rack::Sendfile is no more default middleware. 2011-08-13 16:22:12 -07:00
Waynn Lue
a98eca8ba5 "blog" is more common than "weblog" these days. 2011-08-13 16:22:12 -07:00
Vijay Dev
f407239964 3.1 release notes - added AP and Railties sections 2011-08-13 16:22:12 -07:00
Vijay Dev
ebbf010d4d 3.1 release notes draft 2011-08-13 16:22:12 -07:00
Vijay Dev
ad9e52f156 prefer to use if..end unless the condition is simple/compact 2011-08-13 16:22:12 -07:00
Vijay Dev
225a2482c1 remove some parts of the section on shortcut helpers, document custom validators 2011-08-13 16:22:11 -07:00
Vijay Dev
7372e9ae9a make the warning clear about the effect of using validates_associated on both sides on an association. 2011-08-13 16:22:11 -07:00
Vishnu Atrai
ad55b1aa86 usages of active resouce 2011-08-13 16:22:11 -07:00
Vishnu Atrai
95c2230f05 configuration for active resource 2011-08-13 16:22:11 -07:00
Vishnu Atrai
5da1ddb750 Introduction for active resource 2011-08-13 16:22:11 -07:00
Vishnu Atrai
2177282262 Active Resouce guide initial load 2011-08-13 16:22:11 -07:00
Bratish Goswami
186e7dd4ff '/' was outside of anchor tag. 2011-08-13 16:22:11 -07:00
Waynn Lue
086339a26a Superfluous "the". 2011-08-13 16:22:10 -07:00
Bratish Goswami
bf3649ab19 extra '/' removed from url, which was not linked 2011-08-13 16:22:10 -07:00
Vijay Dev
b57773c738 document meta method 2011-07-29 01:13:58 +05:30
ejy
9e39fd9985 Removed trailing slash of 'Download and installation' Github URL as per convention 2011-07-28 18:40:35 +02:00
Pete Campbell
6dc749596c Explicitly included hashes in sentence regarding SQL-injection-safe forms 2011-07-28 09:44:51 -04:00
Alberto Perdomo
5a22f05522 Association and Callbacks guide: Added section on shortcut syntax 'validates'. 2011-07-28 00:51:17 +01:00