Aaron Patterson
a448e74661
[ #5406 state:resolved] calling the correct method on minitest to obtain the test name
2010-10-04 09:28:21 -07:00
Aaron Patterson
fb526a0470
fixing space errors
2010-09-30 10:29:46 -07:00
Marcelo Giorgi
96c19ff7cc
AssociationCollection#include? working properly for objects added with build method [ #3472 state:resolved]
2010-09-30 10:28:25 -07:00
Marcelo Giorgi
9b78af95be
Remove duplication of conditions generated for associations when used in conjunction with named_scopes [ #4634 state: resolved]
2010-09-30 09:04:04 -07:00
Emilio Tagua
5a63df211d
Add examples to performance script that were included in version 3.
2010-09-30 09:54:01 -03:00
Emilio Tagua
1851596db5
Use detect instead select to avoid sh [..] command not found.
2010-09-30 09:52:47 -03:00
Marcelo Giorgi
0665182950
Preserving :include options for hmt association with an order but without conditions [ #5262 state:resolved]
2010-09-28 09:56:10 -07:00
Ryan Wallace
515917f5d8
Add test to demonstrate failure with eager loading hmt where the association has an order.
2010-09-28 09:54:32 -07:00
Étienne Barrié
bc52d81306
Fix add_index with a symbol #4891
2010-09-27 10:26:01 -07:00
Michael Koziarski
dbbf2fd19c
Revert "Makes form_helper use overriden model accessors backport"
...
This change introduced breakages and test failures.
This reverts commit 8141f0894e .
2010-09-27 12:20:54 +13:00
Andrew Kaspick
9476d628a3
memoized protected methods should remain protected
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2010-09-27 11:50:54 +13:00
Colin Casey
7240e8af6a
Fix for imposed version number as last part of gem directory name for frozen gems
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-24 13:16:51 +02:00
Colin Casey
f2990620d7
Test for imposed version number as last part of gem directory name for frozen gems
...
[#4295 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-09-24 13:16:50 +02:00
W. Andrew Loe III
17f2fb44c0
Only send secure cookies over SSL.
2010-09-14 11:52:40 -07:00
Emilio Tagua
8c049c6b20
Add more examples in performance script.
...
[#5610 state:committed]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-09-10 13:15:46 -07:00
Jeremy Kemper
761c9cd5db
Ruby 1.9 compat: convert Pathname to string
2010-09-10 12:23:41 -07:00
Andrew Kaspick
a159fd0b8c
Fix fixtures in integration test sessions
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2010-09-10 10:45:23 +12:00
Erik Michaels-Ober
e8b84ab1b4
Add support for mysql2 adapter
2010-09-10 02:13:56 +08:00
Erik Michaels-Ober
383ea02e38
Fix typo in deprecation warning
...
Object#returning should be Kernel#returning
2010-09-10 02:13:56 +08:00
Mikel Lindsaar
597fb1da94
Adding documentation to redirect_to and status code option references
2010-09-09 14:00:09 +10:00
Mislav Marohnić
c6e33d30c1
fix setting session cookie with activerecord and memcache store
...
Commit f8f3653 broke setting the session ID cookie for requests without 'HTTP_COOKIE' header
when using activerecord or memcache store. Integration tests didn't catch this because they
always set the HTTP_COOKIE header for mock requests, so now this is changed to only set the
header if there are cookies.
[#5581 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
2010-09-08 12:59:48 -03:00
Jeremy Kemper
a61a39ecd4
Rails 2.3.9
v2.3.9
2010-09-04 14:36:40 -07:00
Ken Collins
b64d1fe637
Conversion of a two dimensional array that is ruby 1.8.6 safe. Fix paren warnings too.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2010-09-03 14:38:28 +12:00
Jeremy Kemper
6f17422ca7
require 'thread' for Mutex dependency
2010-08-31 16:38:52 -07:00
Mikel Lindsaar
bac12fa5fc
Adding option to ActiveResource to allow you to not reset the previously stored requests and responses by passing false to respond_to
...
Backport of commit 2a1b23f851ea3d4634fc68b74fe6b1afed23d3ef on rails/master
2010-08-29 22:55:02 -07:00
Mikel Lindsaar
56fdfeb265
Back porting HttpMock test from Rails 3 master
2010-08-29 22:55:02 -07:00
Mikel Lindsaar
881712cf50
Updating documentation on ActiveResource HTTP Mock and also adding test coverage
2010-08-29 22:55:02 -07:00
Jeremy Kemper
b2c91983dc
Prepare for Rails 2.3.9. Release 2.3.9.pre gems.
v2.3.9.pre
2010-08-29 20:19:05 -07:00
Jeremy Kemper
bdace5d6aa
Exclude guides from gem to keep file size small
2010-08-29 17:54:13 -07:00
Mikel Lindsaar
0fcb4302e1
Make ActiveResource::InvalidRequestError more user friendly
...
Signed-off-by: Xavier Noria <fxn@hashref.com >
2010-08-25 10:11:06 +02:00
Xavier Noria
11361a9e79
restores railties/README as home page of the API
2010-08-20 04:19:34 +02:00
Xavier Noria
add3ccbca6
revises guides generation
2010-08-20 04:13:15 +02:00
Jeff Lawson
d35a67bba3
Bug Fix -- clean up connection after stored procedure [ #3151 state:resolved] for 2-3-stable
2010-08-18 08:33:47 -07:00
Jeff Lawson
7e79889d1c
Bug Fix -- clean up connection after stored procedure [ #3151 state:resolved] for 2-3-stable
2010-08-18 08:33:47 -07:00
Santiago Pastorino
43e2bbe28e
Making time_zone_options_for_select return a html_safe string master backport
2010-08-15 10:07:38 -03:00
Michael Koziarski
b154b97ea4
Revert "Ruby 1.9.2: explicitly raise NoMethodError for attempts at explicit coercion"
...
This reverts commit 64082b350c .
This change broke compatibility with 1.8.6 and was only needed for older 1.9.2 versions
Conflicts:
activerecord/lib/active_record/attribute_methods.rb
2010-08-11 10:53:06 +12:00
Xavier Noria
15cafbe267
it is no longer true that load_paths are going to be removed in final
2010-08-05 00:04:43 +02:00
Subba Rao Pasupuleti
12bbc34aca
In nested_attributes when association is not loaded and association record is saved then in memory record attributes should be saved
...
[#5053 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-08-03 10:56:51 +02:00
Santiago Pastorino
8141f0894e
Makes form_helper use overriden model accessors backport
...
[#3374 ]
2010-08-01 19:49:45 -03:00
Leigh Caplan
27651c1fad
Test to ensure that falsy objects aren't wrapped by deprecation proxies
2010-07-26 09:54:26 -07:00
Leigh Caplan
a9ef2fd56c
Override new on proxy objects so that they never wrap nil or false.
2010-07-26 09:54:26 -07:00
Santiago Pastorino
ae63d5c90d
Changes Object#returning with Object#tap on guides
2010-07-25 17:10:37 -07:00
Santiago Pastorino
6f3896751a
Changelog update for Object#responding deprecation
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 23:08:50 +02:00
Santiago Pastorino
5b0f839054
Deprecates Object#returning in favor of Object#tap
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 22:49:10 +02:00
Santiago Pastorino
a5d8c95a7c
Changes the usage of Object#returning with Object#tap
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-25 22:49:06 +02:00
Subba Rao Pasupuleti
dec2c4f4e3
renaming test name to fix accidently override [ #5076 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-18 11:20:25 +02:00
Neeraj Singh
99cdea7cbe
update_attribute and updated_attributes! are now wrapped in a transaction
...
[#922 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-18 11:20:25 +02:00
Aaron Patterson
c2d13a9a53
changing fixtures back to superclass_delegating_accessor until we can convert them to class_attributes
2010-07-17 18:57:24 -07:00
Jon Yurek
fb615cd7fd
Fix for integration tests not serializing arrays in multipart forms correctly.
...
Signed-off-by: wycats <wycats@gmail.com >
2010-07-17 13:01:50 -05:00
Aaron Patterson
4ae4828953
backporting a couple missing files. sorry folks!
2010-07-16 08:41:53 -07:00