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
Hendy Tanata
b0a91f2c5e
Fix two spaces between sententes on README.rdoc.
2011-07-27 17:30:53 +07:00
Vijay Dev
fa159d3176
move the note after the scaffold files listing
2011-07-26 19:35:16 +05:30
Xavier Noria
cb02d10df2
sync the getting started guide with master
2011-07-25 15:10:13 -07:00
Xavier Noria
703d0e05c0
Merge branch 'master' of git://github.com/lifo/docrails
2011-07-25 14:20:01 -07:00
Xavier Noria
598eab90ff
let TIP and friends handle a multiline paragraph
...
Normally I would have done this in master, but there was already
a guide with wrapped content, so worked here. I am going to
cross-merge now.
2011-07-25 14:12:12 -07:00
Vijay Dev
50ca6f06c7
Revert "aligment issues fixed"
...
This reverts commit 6f29b356c1 .
Reason: Changelogs are not meant to be changed in docrails.
2011-07-25 23:41:28 +05:30
JudeArasu
6f29b356c1
aligment issues fixed
2011-07-25 23:26:36 +05:30