Jeremy Kemper
49ed452136
Defer rake/contrib/sshpublisher require so basic tasks don't need the full rake gem
2009-05-07 18:27:50 -07:00
Jeremy Kemper
201d8b1755
Fix tests on 1.8.6
2009-05-06 12:19:30 -07:00
Jeremy Kemper
6d4a4fabbb
Cherry pick Active Support dependencies. Autoload.
2009-05-06 00:14:55 -07:00
Jeremy Kemper
c585e263ab
Remove superfluous CGI require
2009-05-05 21:50:53 -07:00
Jeremy Kemper
a05cfb6df5
Prefer sibling Active Support
2009-05-05 21:44:02 -07:00
Jeremy Kemper
6e3e00219b
Fix differing rails_to_json arity
2009-04-26 20:26:44 -07:00
rick
3c4c6bd0df
* Add pluggable JSON backends with support for the JSON gem. [rick]
...
Example: ActiveSupport::JSON.backend = "JSONGem"
All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode(). Use of #to_json is not recommended, as it may clash with other libraries that overwrite it. However, you can recover Rails specific functionality
if you really want to use #to_json.
gem 'json'
ActiveSupport::JSON.backend = "JSONGem"
class ActiveRecord::Base
alias to_json rails_to_json
end
2009-04-23 00:08:40 -07:00
Jeremy Kemper
6fee981fa4
Opt in to JSON
2009-04-22 16:48:58 -07:00
Jeremy Kemper
ab321268f8
No more free lunch
2009-04-22 16:10:49 -07:00
Pratik Naik
f97832b1e4
Merge docrails
2009-03-24 12:15:43 +00:00
David Heinemeier Hansson
73fc42cc0b
Prepare for final 2.3 release
2009-03-15 22:06:50 -05:00
Jeremy Kemper
cfde60575a
Strip invalid leading whitespace error uncovered by nokogiri
2009-03-10 22:17:05 -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
Jeremy Kemper
0c407891fb
Ensure Active Support is loaded locally rather than from RubyGems. [ #1620 state:committed]
2009-03-08 11:04:23 -07:00
David Heinemeier Hansson
dfef3d8b14
Release RC2 today
2009-03-05 11:00:04 +01:00
David Heinemeier Hansson
7058c1366e
So it didnt happen yesterday, but very soon! Just need the final details ironed out
2009-02-28 10:30:49 +01:00
David Heinemeier Hansson
77b0994c78
Prep for RC2 later today
2009-02-27 14:46:23 +01:00
Jeremy Kemper
78c6f48b26
Handle either error string or array
2009-02-06 20:26:24 -08:00
Jeremy Kemper
9c2918d974
Fix example and exception message
2009-02-06 12:50:45 -08:00
Jeremy Kemper
4b48f09a9a
Work around mock request hashing problem on 1.9 and jruby
2009-02-06 12:47:01 -08:00
Jeremy Kemper
f7d509882e
Prefer tap to returning
2009-02-06 12:18:24 -08:00
Jeremy Kemper
5581229195
Add sibling AS to load path for testing to ensure gems aren't used
2009-02-06 10:23:58 -08:00
Jeremy Kemper
b302e023b7
Require rubygems
2009-02-03 18:58:06 -08:00
Jeremy Kemper
278186534c
Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.
2009-02-03 18:40:22 -08:00
David Heinemeier Hansson
ed5fa2fe33
Mark CHANGELOGs for release
2009-02-01 22:06:40 +01:00
Bob Aman
166c63818e
Improve exception handling when Location header is invalid. [ #1192 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 20:56:46 +00:00
Rasik Pandey
6079ec1f77
ActiveResource#eqls? and == should not take into account object identity and prefix options should be considered. [ #1098 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2009-01-28 19:39:06 +00:00
Pratik Naik
39e1ac658e
Merge docrails
2009-01-18 18:10:58 +00:00
Pratik Naik
085991891e
Bump up the year in MIT license files
2009-01-18 05:28:21 +00:00
Xavier Noria
a2270ef259
Inline code comments for class_eval/module_eval [ #1657 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-12-28 19:49:28 +00:00
Xavier Noria
46c7dd2348
normalize author names in changelogs [ #1495 state:committed]
...
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com >
2008-12-16 14:33:32 +01:00
Jeremy Kemper
e8c4939fb3
Benchmark.ms
2008-12-09 11:17:11 -08:00
Pratik Naik
dbbae5e00e
Merge with docrails
2008-12-07 03:27:53 +01:00
miloops
2014d9141a
Make new_record? an alias of new? in ActiveResource to fix problem with route generation in forms.
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-12-02 15:27:16 +01:00
Jeremy Kemper
c79fb32e93
Ruby 1.9 compat: don't shadow local var with block arg
2008-11-22 19:19:13 -08:00
Jeremy Kemper
dc07c0e02b
Fix indentation mismatches
2008-11-22 19:19:13 -08:00
David Heinemeier Hansson
51a19ae2bf
Assume that the next version is going to be 2.3 for now
2008-11-19 14:12:38 +01:00
Jeremy Kemper
eeea1a26ec
Merge branch 'master' into testing
2008-11-15 12:21:04 -08:00
David Heinemeier Hansson
3be853b59d
A few more dependency updates
2008-11-14 14:08:26 +01:00
David Heinemeier Hansson
61e43700b8
Prepare for RC2
2008-11-14 12:26:50 +01:00
Jeremy Kemper
ebf14baa0e
Silence parens warning
2008-11-07 15:41:27 -05:00
David Heinemeier Hansson
dffc2e2b64
Fixed that ActiveResource#post would post an empty string when it shouldn't be posting anything (Paolo Angelini) [ #525 state:committed]
2008-10-30 12:47:23 +01:00
David Heinemeier Hansson
d224e6ccb1
Update CHANGELOGs with the last few fixes, set date for today
2008-10-24 13:08:47 +02:00
David Heinemeier Hansson
5366e61458
Proper update call for gem server
2008-10-23 20:29:25 +02:00
David Heinemeier Hansson
ca7e4d71c2
Should be 2.2.0 as well
2008-10-23 20:23:01 +02:00
David Heinemeier Hansson
eec6e0cbbd
Push to new gem server
2008-10-23 20:18:11 +02:00
David Heinemeier Hansson
57c31a380e
Prepare for Rails 2.2.0 [RC1]
2008-10-23 20:14:20 +02:00
Cody Fauser
f2c10f2756
Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json methods. [ #1011 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com >
2008-10-07 17:48:02 +01:00
Matthew Moore
4df45d8609
ActiveResource can load array of strings, like serialize :bar, Array
...
Signed-off-by: rick <technoweenie@gmail.com >
[#1055 state:resolved]
2008-10-05 10:29:13 -07:00
Edgar J. Suarez
790ebf8eab
HTTP Accept header
...
Signed-off-by: Michael Koziarski <michael@koziarski.com >
2008-09-18 11:15:48 +02:00