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
Michael Koziarski
f57ca87729
Only skip eager loading the code if dependency_loading is still enabled.
...
Otherwise rake tasks which depend on environment will get errors about missing constants.
2010-07-16 17:06:32 +12:00
Aaron Patterson
7b6383f263
fixing performance regression from 2.3.5 -> 2.3.8
2010-07-15 15:59:19 -07:00
Michael Lovitt
257a29d3cc
Sessions should not be created until written to and session data should be destroyed on reset. [ #4938 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-14 08:04:37 +02:00
Jacob Lewallen
8298bef72e
Set destroyed=true in opt locking's destroy [ #5058 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-14 08:03:02 +02:00
Mike Breen
046c900df2
A generated plugin's test are not run by 'rake test'
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-08 23:08:22 +02:00
Ken Collins
504f7cfbb3
Fix the #using_limitable_reflections? helper to work correctly by not examining the length of an array which contains false/true, hence always passing.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-08 23:08:11 +02:00
Grant Ammons
0963774c0a
fixes #2362 , eager loading :through associations will join the :source model if there are :conditions
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-08 23:08:05 +02:00
Mislav Marohnić
2d3bc99b0d
test that ActiveRecord destroy and destroy_all return destroyed records
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-07-08 11:35:56 -07:00
Mislav Marohnić
ba9c469113
add missing require to ActiveRecord "base_test.rb"
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-07-08 11:35:46 -07:00
José Valim
bfbdeeae30
Use bind instead of instance_exec cause it may be causing memory leaks. Also, provide a simpler and sane implementation for scoped. [ #5044 state:resolved]
2010-07-04 16:19:40 +02:00
Aaron Patterson
67e18c523c
fisting Session::AbstractStore#clear to actually clear the session. [ #5030 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-07-01 14:47:28 -07:00
James Le Cuirot
526f1e5f15
Don't remove scheduled destroys when loading an association.
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-07-01 01:07:24 +02:00
Jan Berkel
f8f4872fcc
Backported patch from [ #4762 ]
...
URL fragments should not have safe characters escaped. Ref: Appendix A,
http://tools.ietf.org/rfc/rfc3986.txt
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-30 13:27:28 +02:00
Aaron Patterson
fad166c152
AssociationCollection#create_by_*, find_or_create_by_* work properly now. [ #1108 state:resolved]
...
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net >
2010-06-29 16:33:12 -07:00
Leigh Caplan
78e4d88c70
Rewrite the clause to pluck the existing value from zones_map before performing a lookup. [ #4942 state:resolved]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-29 17:54:18 +02:00
David Trasbo
ac42e6951f
Deprecate ActiveRecord::Base#class_name [ #379 state:committed]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-29 17:54:05 +02:00
David Trasbo
d0d10f51d7
Only tell users that the Rails gem is missing if it's actually the case [ #2901 state:committed]
...
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-29 17:53:57 +02:00
Prem Sichanugrist
69c4e4ce65
Fix [ 54a5088cd5] where the i18n gem was wrongly updated to 0.4.1.
...
I've tested and confirm that `2-3-stable` will use the vendored `i18n` gem if there's no `i18n` gem with version >= 0.4.1 installed
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-29 17:53:48 +02:00
Leigh Caplan
80473e035a
test that unknown zones don't store mapping keys
...
[#4942 ]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com >
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-28 22:20:34 +02:00
Santiago Pastorino
70af7efa16
Don't store incorrect values in zones_map backport
...
[#4942 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-28 22:20:34 +02:00
Evgeniy Dolzhenko
56b35afbdd
Add module_eval missing file_name and line_number args
...
[#4712 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com >
2010-06-27 08:49:54 +02:00