Commit Graph

10450 Commits

Author SHA1 Message Date
Andreas Scherer
ffe2ddb7fb Revision of i18n guide, chapter 4.
Major change: Scoped lookup in the form 'active_record.error_messages'
seems to have been deprecated at least in Rails 2.2. Instead, the form
'activerecord.errors.messages' is implemented and documented.
2009-03-10 18:21:43 +01:00
Pratik Naik
df4375d75a Revert "Updated actionpack/CHANGELOG to include enhancements to form option helpers"
No CHANGELOG entries please.

This reverts commit 7fa0a8d7f3.
2009-03-10 16:06:21 +00:00
Tekin Suleyman
803a6b171b Slight tweak to 2.3 release notes 2009-03-10 15:34:18 +00:00
Tekin Suleyman
f1e903aa92 Merge branch 'master' of git://github.com/lifo/docrails 2009-03-10 15:26:59 +00:00
Mike Gunderloy
5739626031 Update 2.3 release notes with changes through March 6 2009-03-10 08:30:33 -05:00
Andreas Scherer
edd5d7f38c Revision of i18n guide, chapter 3. 2009-03-10 13:42:25 +01:00
Mike Gunderloy
65309c57bb Fix typo in Routing Guide 2009-03-10 07:19:30 -05:00
Xavier Noria
8db16e86c8 your dear missed typo, thank you 2009-03-10 10:42:09 +01:00
Xavier Noria
5c78693ea5 revised section 7 of validations guide 2009-03-10 10:38:52 +01:00
Pratik Naik
1ab84247ca Merge commit 'mainstream/master'
Conflicts:
	railties/guides/files/stylesheets/main.css
	railties/guides/rails_guides/generator.rb
	railties/guides/source/index.erb.textile
2009-03-10 00:33:32 +00:00
Xavier Noria
b6fb79c531 revision of validations guide, chapters 4 to 7 2009-03-10 00:55:33 +01:00
Jeremy Kemper
4458edc882 Use the REXML parser by default. XmlMini.backend = 'LibXML' to use libxml-ruby. 2009-03-09 13:42:42 -07:00
Jeremy Kemper
87d82ef76e Require libxml-ruby 0.9.4 or 0.9.7 pending a segfault bugfix for 1.0.
Delegate parsing to a switchable backend.
2009-03-09 13:00:57 -07:00
Jeremy Kemper
146511e018 Revert "Revert "XmlMini supports different backend parsers, starting with libxml""
Will change to require a known-working libxml-ruby.

This reverts commit a995a738ca.
2009-03-09 12:39:20 -07:00
Pratik Naik
8aabfadcb7 Add a note in release notes about using request.cookies["foo"]= instead of CGI::Cookie.new in tests 2009-03-09 18:13:05 +00:00
David Heinemeier Hansson
a995a738ca Revert "XmlMini supports different backend parsers, starting with libxml"
Spews a ton undefined method `default_keep_blanks=' for XML:Module errors.

This reverts commit 822c41d69d.
2009-03-09 19:00:21 +01:00
Andreas Scherer
c9806fe176 Touch-up the 'i18n' part while reading the first two sections. 2009-03-09 18:31:51 +01:00
Andrew Bloom
90dba00822 Ensure blank path_prefix works as expected [#2122 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 15:27:13 +00:00
Andrew Timberlake
1d88a111b5 Ensure TemplateRunner#ask? works with the rake task to apply a template [#1655 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 14:58:12 +00:00
Curtis Hawthorne
0d922885fb Ensure Model#destroy respects optimistic locking [#1966 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 14:56:09 +00:00
Jim Remsik and Tim Pope
1e6c50e21b Ensure has_many :through works with changed primary keys [#736 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 13:43:28 +00:00
rpheath
1ab2ff58ed Fixed number_to_phone to work with 7 digit numbers [#2176 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 12:53:44 +00:00
Rob Anderton
faf4ba6b79 Allow find(:last) :order be a symbol [#2024 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 12:52:14 +00:00
Jan De Poorter
277c799d58 Fix find_by_last when order is given [#2127 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-03-09 13:02:31 +01:00
David Heinemeier Hansson
9442d843ff Merge branch 'master' of git@github.com:rails/rails 2009-03-09 12:50:47 +01:00
Matt Jones
0da8e45baf Correctly clean backtraces from vendor/gems and gems in alternate install locations
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-03-09 12:49:58 +01:00
Pratik Naik
36e9ae2603 Add some rack links 2009-03-09 11:45:14 +00:00
Matt Jones
f4bd0fbc91 Correctly clean backtraces from vendor/gems and gems in alternate install locations
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
2009-03-09 12:09:40 +01:00
Xavier Noria
fc098e8de9 yet some more deprecated :message formats updated 2009-03-08 22:42:36 +01:00
Xavier Noria
f4b9de8abf just a missing preposition 2009-03-08 22:25:41 +01:00
Xavier Noria
04042ce01e important revision in (current) chapter 3 of validations guide 2009-03-08 22:23:08 +01:00
Jeremy Kemper
a3e67a15ed Prototype helpers support the onCreate callback.
[#1074 state:committed]
2009-03-08 13:41:51 -07:00
Bart ten Brinke
822c41d69d XmlMini supports different backend parsers, starting with libxml
[#2084 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-08 13:41:25 -07:00
Jeremy Kemper
1c36172c13 Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.
[#1617 state:resolved]
2009-03-08 13:11:58 -07:00
Trevor Turk
2bf922d056 Added information about the new Object#invalid? method just added to Edge. 2009-03-08 13:04:23 -05:00
Jeremy Kemper
0c407891fb Ensure Active Support is loaded locally rather than from RubyGems. [#1620 state:committed] 2009-03-08 11:04:23 -07:00
Xavier Noria
336f0a2e63 proofread validations guide up to section 2 2009-03-08 17:07:34 +01:00
Yury Kotlyarov
9b8cde41bc Remove duplicate test [#2136 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-08 15:50:38 +00:00
Xavier Noria
f3e4d14ab9 remove unneeded curlies in AR::Base.update example 2009-03-08 16:48:23 +01:00
Xavier Noria
3fbfb81aa0 harmonizes whitespace surrounding special boxes and their inner paragraphs, removes unused selectors as well 2009-03-08 16:28:34 +01:00
Jeffrey Hardy
96eaeee446 Add ActiveRecord::Base#invalid? as the opposite of #valid? [#2159 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-08 15:20:23 +00:00
John Aughey
7a26a67b42 Ensure SQLite adapters stores the config [#1947 state:resolved] [John Aughey, Pratik Naik]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-08 14:47:32 +00:00
Mike Gunderloy
5e0f6214d2 Support OPTIONS verb in route conditions [#1727 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-08 12:37:17 +00:00
Trevor Turk
50e81d9bc4 Finish up callbacks section for Active Record Validations and Callbacks guide 2009-03-07 17:41:03 -06:00
Tom Stuart
5c87e9addd Ensure shallow routes respects namespace [#1356 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-07 22:50:58 +00:00
George Ogata
7438788481 Make Chars#slice! behave more like String#slice! [#1243 state:resolved]
- Chars#slice! now returns the slice instead of itself
- Chars#slice! now removes the slice from itself

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-07 22:41:11 +00:00
Trevor Turk
61af46ca2a Fix guide error: save(false) skips validations but does run callbacks 2009-03-07 15:29:28 -06:00
Joshua Peek
ea8488caef Fixed simplified render with nested models [#2042 state:resolved] 2009-03-07 14:05:18 -06:00
Matt Jones
87e8b16246 fix HTML fallback for explicit templates [#2052 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-03-07 13:32:46 -06:00
Lawrence Pit
77f7d98e38 submit_tag with confirmation and disable_with [#660 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-03-07 13:29:35 -06:00