Commit Graph

10531 Commits

Author SHA1 Message Date
Pratik Naik
f60445940f Fix the table name 2009-03-14 14:37:08 +00:00
Pratik Naik
f5efe1cf8c Move find_each stuff to the top and change a bit 2009-03-14 14:30:49 +00:00
Pratik Naik
b8ad501c91 Merge commit 'mainstream/master' 2009-03-14 13:12:13 +00:00
Jason King
ac3848201d SQLite adapters now support DDL transactions [#2080 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-14 12:58:42 +00:00
Joshua Peek
5b025a1d11 Revert 5b7527ca "Failing test for routes with member & requirement" [#2054 state:wontfix] 2009-03-13 17:13:18 -05:00
Joshua Peek
eced3d8c55 Update rack to fix multipart uploads with an empty file [#1945 state:resolved] 2009-03-13 17:13:10 -05:00
Rodrigo Rosenfeld Rosas
626221d17c Extra spaces on list items were generating wrong output in Testing guide. 2009-03-13 10:10:00 -03:00
Rodrigo Rosenfeld Rosas
586ef2977b Corrects minor spelling mistake (practises -> practices). 2009-03-13 09:54:09 -03:00
Mike Gunderloy
2885a9a8de Update 2.3 relnotes through 3/13 AM, remove warning about RC to get ready for release. 2009-03-13 07:26:16 -05:00
David Dollar
99d75a7b02 Makes the gem system understand development vs. runtime dependencies [#2195 state:resolved]
The patch also fixes:

* Fixes the chicken/egg problem present in the current gem system when
  gems are defined in the config that are not yet installed.

* Remove the need to have hoe as a dependency of your production app.

* Makes the gem 'unpacking' system a lot less fragile.

Signed-off-by: Matt Jones <al2o3cr@gmail.com>
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-13 10:20:23 +00:00
Zack Hobson
5b751ae0b3 Execute the appropriate gem command when using JRuby [#2215 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-13 10:14:51 +00:00
John Dzak
9d906707be Vendored gem paths now being loaded if they exist [#2204 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-13 10:13:57 +00:00
Xavier Noria
6064446752 explains the order in which records are fetched by find_each 2009-03-13 09:29:37 +01:00
Xavier Noria
8ac0e63104 prevents the mini-bio of fxn to wrap below the picture 2009-03-13 02:00:54 +01:00
Xavier Noria
11906ec103 reword a paragraph in find_each explanation 2009-03-13 01:28:51 +01:00
Xavier Noria
952b340703 explains find_each and find_in_batches in the querying guide 2009-03-13 00:36:28 +01:00
Xavier Noria
655f95a8a6 in batches.rb, rewrap rdoc, and document options as symbols 2009-03-12 23:28:33 +01:00
Jeremy Kemper
5f1d6465b4 Change naming to match 2.2 so life is easier on plugin developers 2009-03-12 13:32:52 -07:00
Jeremy Kemper
82c6597dc2 Eliminate internal render stack since we only need its head and tail 2009-03-12 12:34:47 -07:00
Jonathan del Strother
9230678104 Use xmlschema when serializing TimeWithZones to xml [#2223 state:resolved]
When using Hash#to_xml, any TimeWithZone objects now use xmlschema (iso8601), rather than a simple TimeWithZone#to_s.

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 18:35:49 +00:00
Mike Gunderloy
d771e7d17f Handle irregular plurals in polymorphic_urls [#2212 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 17:02:07 +00:00
Eloy Duran
de55c8d745 Fixed some spelling errors in documentation about AssociationCollection::destroy and AssociationCollection::destroy_all.
This time without the whitespace fixes and move of the destroy_all method.
2009-03-12 16:50:10 +01:00
Eloy Duran
8e277f89cd Revert "Fixed some spelling errors in documentation about AssociationCollection::destroy and AssociationCollection::destroy_all."
This reverts commit b304b0be01.
2009-03-12 16:46:38 +01:00
Eloy Duran
b304b0be01 Fixed some spelling errors in documentation about AssociationCollection::destroy and AssociationCollection::destroy_all.
Also fixed some whitespace.
2009-03-12 16:42:41 +01:00
Chris Kampmeier
3c64c9a575 Fix spelling of an internal method [#1734 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 15:41:31 +00:00
Pratik Naik
53744c5438 Merge commit 'mainstream/master'
Conflicts:
	actionpack/lib/action_view/helpers/text_helper.rb
	activesupport/lib/active_support/inflector.rb
2009-03-12 15:31:24 +00:00
Luca Guidi
47bdf3bf40 Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]
Signed-off-by: Eloy Duran <eloy.de.enige@gmail.com>
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 15:24:37 +00:00
Elijah Miller
91b98cf0a5 Returning nil from named scope lambda is equivalent to an empty hash [#1773 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 15:06:19 +00:00
Bradford Folkens
aa57e66fec Ensure HWIA#reverse_merge! retrurns HWIA [#421 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 15:03:01 +00:00
Damian Terentiev
8a17fd1a65 Fixed that template runner gem method to output :lib => false correctly [#1940 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 14:45:55 +00:00
Murray Steele
db26ace030 Ensure NoMethodError isn't raised when some of the nested eager loaded associations are empty [#1696 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 13:49:16 +00:00
CassioMarques
053afbe3bd Changing :integer_only to :only_integer in the AR Validations and Callbacks guide 2009-03-12 10:37:16 -03:00
Will Bryant
92dadf6d79 Fixed autosave checks on objects with hm:t in :include [#2213 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 13:26:21 +00:00
Donald Parish
be7b64b35a Support MD5 passwords for Digest auth and use session_options[:secret] in nonce [#2209 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-12 13:24:54 +00:00
Xavier Noria
c351aec92f each -> find_each in 2.3 release notes 2009-03-12 13:49:52 +01:00
Karel Minarik
b69f027ec1 Fixed invalid HTML in Credits 2009-03-12 11:32:23 +01:00
Matt Jones
4f7e2257fe Fix several issues with code examples.
- "chaining" layouts with :only/:except removed. See #2162 for discussion.

- double render section now has working examples. Old version implied that calling render once and then falling through would give a DoubleRenderError.

- complete example for layout proc.

- cleaned up a few stray references to layouts ending in bare .erb (no format).
2009-03-12 03:07:17 -04:00
Henrik N
724eb9e612 Fix some typos, including a global "seperator" -> "separator". 2009-03-12 07:29:57 +01:00
Xavier Noria
aaacc999fd finished proofreading of the validations guide 2009-03-12 00:29:34 +01:00
Xavier Noria
985ea6c121 and now even with the right dimensions 2009-03-11 23:19:43 +01:00
Xavier Noria
12aec1f5a4 updates fxn picture with better quality 2009-03-11 23:17:02 +01:00
Ubiratan Pires Alberton
7b382cb9e5 Reverted affe50105f and added more JSON decoding tests.
Works on Ruby 1.8 and 1.9

[#1100 state:resolved]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2009-03-11 14:36:14 -07:00
Xavier Noria
73f649532b uploads fxn picture, links to fxn's tweet account 2009-03-11 20:26:42 +01:00
Russ Smith
f2c7508bef Update bundled Rack to fix Litespeed compatibility [#2198 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
2009-03-11 12:50:24 -05:00
Pratik Naik
40147f23de Move JZ in the middle 2009-03-11 17:33:04 +00:00
Pratik Naik
106976df09 Ensure ActiveRecord::Base.find_in_batches fires doesnt fire an extra query unless needed 2009-03-11 15:24:30 +00:00
Pratik Naik
f23adf0ed4 Add tests for AssociationCollection#find_each and AssociationCollection#find_in_batches 2009-03-11 15:07:24 +00:00
Pratik Naik
0b6f514947 Add NamedScope#find_each tests [#2201 state:resolved] 2009-03-11 15:07:24 +00:00
Pratik Naik
04333482bd Rename ActiveRecord::Base.each to ActiveRecord::Base.find_each 2009-03-11 15:07:23 +00:00
Pratik Naik
e684597a81 Alphabetical ordering 2009-03-11 14:15:41 +00:00