David Heinemeier Hansson
73fc42cc0b
Prepare for final 2.3 release
v2.3.2
2009-03-15 22:06:50 -05:00
Luca Guidi
5f10533949
Make sure Metal use ActionController class name conventions [ #2242 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-15 18:41:21 -05:00
misfo
7706b57034
allowed render :file to take Pathnames [ #2220 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-14 10:42:02 -05:00
Joshua Peek
112056333f
Add Rack version to Rails info
2009-03-14 10:37:20 -05:00
Mike Gunderloy
07710fd3e0
Fix requirements for additional member/collection routes [ #2054 state:resolved]
...
Signed-off-by: Joshua Peek <josh@joshpeek.com >
2009-03-14 10:06:00 -05: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
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
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
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
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
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
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
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
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
Jeremy Kemper
19ad375e7a
Don't duplicate :order from scope and options, it makes mysql do extra work
2009-03-10 23:11:05 -07:00
Jeremy Kemper
cfde60575a
Strip invalid leading whitespace error uncovered by nokogiri
2009-03-10 22:17:05 -07:00
Aaron Patterson
b9e021df97
adding more nokogiri tests and making the main rails tests pass
...
[#2190 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-03-10 22:11:15 -07:00
Mislav Marohnić
fa45540cdb
Ensure correct content type is declared after cache hits on actions with string cache keys [ #1585 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 23:31:19 +00:00
Henrik N
ea0e41d8fa
Make Inflector#parameterize correctly squeeze multi-character separators [ #1489 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 21:36:46 +00:00
Ken Collins
4b4e7caffa
The latest trunk of Mocha > 0.9.5 which addresses issue with MiniUnit compatibility uses namespaced integration classes.
...
[#2060 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-03-10 14:07:40 -07:00
Joshua Peek
0a887e2386
check for rack 1.0 gem before falling back to bundled version
2009-03-10 15:09:44 -05:00
Joshua Peek
572e0aac80
update bundled version of rack before 2.3 final
2009-03-10 15:05:38 -05:00
Joshua Peek
8970f8ace5
remove rack gem dependency
2009-03-10 15:02:58 -05:00
Jeremy Kemper
37cf224fdb
Make it easier to swap XmlMini backends. Require Nokogiri >= 1.1.1 for XmlMini backend tests.
2009-03-10 12:08:42 -07:00
Aaron Patterson
694998ee4f
Nokogiri backend for XmlMini
...
[#2190 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-03-10 11:56:19 -07:00
Jeremy Kemper
d4091d3bc7
Properly set up libxml includes. Don't include LibXML in toplevel.
...
[#2084 state:resolved]
2009-03-10 11:37:23 -07:00
Jeff Schwab
e609d83f1a
Fixed an incompatibility with Ruby 1.9.
...
Ruby 1.8 strings are Enumerable, but there is no String#lines method. In
Ruby 1.9, the situation is reversed. To work around this disparity, the
RailsEnvironment#externals method now explicitly checks whether a String
responds_to? :lines.
[#2130 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2009-03-10 11:37:23 -07:00
Pratik Naik
affe50105f
Remove untested part from 9b9b2937ce
2009-03-10 18:16:10 +00:00
Tim Pope
9b9b2937ce
Properly decode \u escape sequences in JSON [ #1100 state:resolved] [Tim Pope, Philip Hallstrom]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 17:05:17 +00:00
Pratik Naik
0464254430
Add a missing CHANGELOG entry
2009-03-10 16:52:40 +00:00
Eugene Pimenov
bdfa733d04
Ensure auto_link doesnt linkify URLs in the middle of a tag [ #1523 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 16:52:21 +00:00
Sean Dague
1dff106888
Allow custom type for multipart emails [ #1691 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 16:38:37 +00:00
Joshua Peek
e8b07dc340
Ensure public folder structure is setup correctly if the tests are ran out of order, fixes tests in 0c9bbf8
2009-03-10 11:19:32 -05:00
Manfred Stienstra
c3aa2bcdcf
Ensure nested with_scope merges conditions inside out [ #2193 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 11:49:58 +00:00
Bruce Krysiak
8272630ce8
Ensure ActiveRecord#to_xml respects :skip_types for included associations [ #1632 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-03-10 11:17:16 +00:00