Skip to content
This repository
Newer
Older
100644 323 lines (187 sloc) 11.138 kb
9d174585 » tenderlove
2011-08-04 more changelog updates
1 *Rails 3.0.10 (unreleased)*
2
3 *Rails 3.0.9 (June 16, 2011)*
4
5 *Rails 3.0.8 (June 7, 2011)*
eecbc107 » tenderlove
2011-05-25 updating changelogs
6
7 *No changes.
8
2c326014 » tenderlove
2011-04-18 bumping version for release
9 *Rails 3.0.7 (April 18, 2011)*
6bc9dd7c » spastorino
2011-04-14 Add missing CHANGELOG entries
10
11 *No changes.
12
13
857ec160 » tenderlove
2011-04-05 updating CHANGELOG
14 *Rails 3.0.6 (April 5, 2011)
ea026f13 » spastorino
2011-03-02 Add missing versions to CHANGELOGs
15
16 * No changes.
17
18
19 *Rails 3.0.5 (February 26, 2011)*
20
21 * No changes.
22
23
24 *Rails 3.0.4 (February 8, 2011)*
25
26 * No changes.
27
28
29 *Rails 3.0.3 (November 16, 2010)*
30
31 * No changes.
32
33
31b6a6a7 » dhh
2010-11-15 Prep for 3.0.2 release
34 *Rails 3.0.2 (November 15, 2010)*
35
36 * No changes.
fcdedb2c » jeremy
2010-08-29 Bump version to 3.0.1.pre
37
38
14b33a4e » spastorino
2010-10-18 Merge 3.0.1 CHANGELOGs and prepare 3.0.2.pre
39 *Rails 3.0.1 (October 15, 2010)*
40
31b6a6a7 » dhh
2010-11-15 Prep for 3.0.2 release
41 * No changes.
42
fcdedb2c » jeremy
2010-08-29 Bump version to 3.0.1.pre
43
851552bd » dhh
2010-08-29 Prep for final release
44 *Rails 3.0.0 (August 29, 2010)*
43e2fd93 » jeremy
2010-04-26 Update CHANGELOG for include_root_in_json.
45
46 * JSON: set Base.include_root_in_json = true to include a root value in the JSON: {"post": {"title": ...}}. Mirrors the Active Record option. [Santiago Pastorino]
47
79758854 » jakimowicz
2009-08-09 Add support for errors in JSON format.
48 * Add support for errors in JSON format. #1956 [Fabien Jakimowicz]
49
916b18ad » Jordan Brough
2009-08-09 Active Resource recognizes 410 as Resource Gone now [#2316 state:reso…
50 * Recognizes 410 as Resource Gone. #2316 [Jordan Brough, Jatinder Singh]
51
3e095163 » rnicholson
2009-08-09 Add ability to set SSL options on ARes connections.
52 * More thorough SSL support. #2370 [Roy Nicholson]
53
4d155281 » mwhuss
2009-05-18 HTTP proxy support
54 * HTTP proxy support. #2133 [Marshall Huss, Sébastien Dabet]
55
56
73fc42cc » dhh
2009-03-15 Prepare for final 2.3 release
57 *2.3.2 [Final] (March 15, 2009)*
77b0994c » dhh
2009-02-27 Prep for RC2 later today
58
73fc42cc » dhh
2009-03-15 Prepare for final 2.3 release
59 * Nothing new, just included in 2.3.2
ed5fa2fe » dhh
2009-02-01 Mark CHANGELOGs for release
60
61
61e43700 » dhh
2008-11-14 Prepare for RC2
62 *2.2.1 [RC2] (November 14th, 2008)*
dffc2e2b » dhh
2008-10-30 Fixed that ActiveResource#post would post an empty string when it sho…
63
64 * Fixed that ActiveResource#post would post an empty string when it shouldn't be posting anything #525 [Paolo Angelini]
65
66
d224e6cc » dhh
2008-10-24 Update CHANGELOGs with the last few fixes, set date for today
67 *2.2.0 [RC1] (October 24th, 2008)*
e7a305f0 » dhh
2008-06-02 Fixed Base#exists? to check status code as integer [#299 state:resolv…
68
f2c10f27 » Cody Fauser
2008-10-07 Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json meth…
69 * Add ActiveResource::Base#to_xml and ActiveResource::Base#to_json. #1011 [Rasik Pandey, Cody Fauser]
70
893fb5bb » xymbol
2008-08-22 Add ActiveResource::Base.find(:last). [#754 state:resolved]
71 * Add ActiveResource::Base.find(:last). [#754 state:resolved] (Adrian Mugnolo)
72
aad7cac6 » dhh
2008-08-15 Fixed problems with the logger used if the logging string included %'s [
73 * Fixed problems with the logger used if the logging string included %'s [#840 state:resolved] (Jamis Buck)
74
e7a305f0 » dhh
2008-06-02 Fixed Base#exists? to check status code as integer [#299 state:resolv…
75 * Fixed Base#exists? to check status code as integer [#299 state:resolved] (Wes Oldenbeuving)
76
77
f9db7695 » dhh
2008-05-31 Making ready for release of 2.1
78 *2.1.0 (May 31st, 2008)*
a1ec3aa6 » jeremy
2007-12-21 Ruby 1.9 compatibility
79
869d731c » David Heinemeier Hansson
2008-04-29 Fixed response logging to use length instead of the entire thing (sea…
80 * Fixed response logging to use length instead of the entire thing (seangeo) [#27]
81
9300ebd8 » dhh
2008-03-28 Fixed that to_param should be used and honored instead of hardcoding …
82 * Fixed that to_param should be used and honored instead of hardcoding the id #11406 [gspiers]
83
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
84 * Improve documentation. [Ryan Bigg, Jan De Poorter, Cheah Chu Yeow, Xavier Shay, Jack Danger Canty, Emilio Tagua, Xavier Noria, Sunny Ripert]
ca941367 » lifo
2008-03-26 Improve documentation.
85
5396b0f3 » NZKoz
2008-02-09 Use HEAD instead of GET inside exists? Closes #11062 [bscofield]
86 * Use HEAD instead of GET in exists? [bscofield]
87
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
88 * Fix small documentation typo. Closes #10670 [Luca Guidi]
4261b837 » technoweenie
2008-01-02 Fix small documentation typo. Closes #10670 [l.guidi]
89
9a97f9a1 » jeremy
2008-01-02 find_or_create_resource_for handles module nesting. Closes #10646.
90 * find_or_create_resource_for handles module nesting. #10646 [xavier]
91
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
92 * Allow setting ActiveResource::Base#format before #site. [Rick Olson]
e8730713 » technoweenie
2007-12-28 Allow setting ActiveResource::Base#format before #site. [rick]
93
c54b9158 » technoweenie
2007-12-28 Support agnostic formats when calling custom methods. Closes #10635 […
94 * Support agnostic formats when calling custom methods. Closes #10635 [joerichsen]
95
470fc020 » jeremy
2007-12-21 Document custom methods. Closes #10589.
96 * Document custom methods. #10589 [Cheah Chu Yeow]
97
a1ec3aa6 » jeremy
2007-12-21 Ruby 1.9 compatibility
98 * Ruby 1.9 compatibility. [Jeremy Kemper]
99
100
69edebf0 » dhh
2007-12-16 Prepare for 2.0.2 release
101 *2.0.2* (December 16th, 2007)
c81fff24 » jeremy
2007-12-10 Correct empty response handling. Closes #10445.
102
1ceccdeb » dhh
2007-12-14 Added more specific exceptions for 400, 401, and 403 (all descending …
103 * Added more specific exceptions for 400, 401, and 403 (all descending from ClientError so existing rescues will work) #10326 [trek]
104
c81fff24 » jeremy
2007-12-10 Correct empty response handling. Closes #10445.
105 * Correct empty response handling. #10445 [seangeo]
106
107
1acd54a5 » dhh
2007-12-07 Make ready for 2.0.1
108 *2.0.1* (December 7th, 2007)
54a75de3 » dhh
2007-11-29 Prep for RC2
109
24e6cbc7 » technoweenie
2007-11-19 Don't cache net/http object so that ActiveResource is more thread-saf…
110 * Don't cache net/http object so that ActiveResource is more thread-safe. Closes #10142 [kou]
111
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
112 * Update XML documentation examples to include explicit type attributes. Closes #9754 [Josh Susser]
7863c4a1 » Marcel Molina
2007-11-06 Update XML documentation examples to include explicit type attributes…
113
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
114 * Added one-off declarations of mock behavior [David Heinemeier Hansson]. Example:
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
115
116 Before:
117 ActiveResource::HttpMock.respond_to do |mock|
118 mock.get "/people/1.xml", {}, "<person><name>David</name></person>"
119 end
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
120
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
121 Now:
122 ActiveResource::HttpMock.respond_to.get "/people/1.xml", {}, "<person><name>David</name></person>"
123
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
124 * Added ActiveResource.format= which defaults to :xml but can also be set to :json [David Heinemeier Hansson]. Example:
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
125
126 class Person < ActiveResource::Base
127 self.site = "http://app/"
128 self.format = :json
129 end
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
130
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
131 person = Person.find(1) # => GET http://app/people/1.json
132 person.name = "David"
133 person.save # => PUT http://app/people/1.json {name: "David"}
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
134
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
135 Person.format = :xml
136 person.name = "Mary"
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
137 person.save # => PUT http://app/people/1.json <person><name>Mary</name></person>
dc399b96 » dhh
2007-09-20 Added ActiveResource.format= which defaults to :xml but can also be s…
138
e682fee1 » jeremy
2007-06-22 Fix reload error when path prefix is used. Closes #8727.
139 * Fix reload error when path prefix is used. #8727 [Ian Warshak]
140
fde3d9d8 » jeremy
2007-06-09 Remove ActiveResource::Struct because it hasn't proven very useful. C…
141 * Remove ActiveResource::Struct because it hasn't proven very useful. Creating a new ActiveResource::Base subclass is often less code and always clearer. #8612 [Josh Peek]
142
bfda4cdc » Tobias Lütke
2007-06-08 Fixed query methods on resources. [Cody Fauser]
143 * Fix query methods on resources. [Cody Fauser]
144
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
145 * pass the prefix_options to the instantiated record when using find without a specific id. Closes #8544 [Eloy Duran]
4d1c87a0 » technoweenie
2007-06-01 pass the prefix_options to the instantiated record when using find wi…
146
849038ee » jeremy
2007-05-26 Recognize and raise an exception on 405 Method Not Allowed responses.…
147 * Recognize and raise an exception on 405 Method Not Allowed responses. #7692 [Josh Peek]
148
08736788 » technoweenie
2007-05-09 Handle string and symbol param keys when splitting params into prefix…
149 * Handle string and symbol param keys when splitting params into prefix params and query params.
150
151 Comment.find(:all, :params => { :article_id => 5, :page => 2 }) or Comment.find(:all, :params => { 'article_id' => 5, :page => 2 })
152
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
153 * Added find-one with symbol [David Heinemeier Hansson]. Example: Person.find(:one, :from => :leader) # => GET /people/leader.xml
04fd94d8 » dhh
2007-05-01 BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible …
154
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
155 * BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible with :params and more strict usage of scopes [David Heinemeier Hansson]. Changes:
04fd94d8 » dhh
2007-05-01 BACKWARDS INCOMPATIBLE: Changed the finder API to be more extensible …
156
157 Person.find(:all, :title => "CEO") ...becomes: Person.find(:all, :params => { :title => "CEO" })
158 Person.find(:managers) ...becomes: Person.find(:all, :from => :managers)
159 Person.find("/companies/1/manager.xml") ...becomes: Person.find(:one, :from => "/companies/1/manager.xml")
160
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
161 * Add support for setting custom headers per Active Resource model [Rick Olson]
bd50d82f » technoweenie
2007-04-29 Add support for setting custom headers per ActiveResource model [Rick]
162
163 class Project
8e8fd99d » technoweenie
2007-04-29 change #custom_headers to just #headers [Rick]
164 headers['X-Token'] = 'foo'
bd50d82f » technoweenie
2007-04-29 Add support for setting custom headers per ActiveResource model [Rick]
165 end
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
166
bd50d82f » technoweenie
2007-04-29 Add support for setting custom headers per ActiveResource model [Rick]
167 # makes the GET request with the custom X-Token header
168 Project.find(:all)
169
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
170 * Added find-by-path options to ActiveResource::Base.find [David Heinemeier Hansson]. Examples:
1d5c34c2 » dhh
2007-04-27 Added find-by-path options to ActiveResource::Base.find [DHH]
171
172 employees = Person.find(:all, :from => "/companies/1/people.xml") # => GET /companies/1/people.xml
173 manager = Person.find("/companies/1/manager.xml") # => GET /companies/1/manager.xml
174
175
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
176 * Added support for using classes from within a single nested module [David Heinemeier Hansson]. Example:
234b0b7c » dhh
2007-04-26 Added support for using classes from within a single nested module [DHH]
177
178 module Highrise
179 class Note < ActiveResource::Base
180 self.site = "http://37s.sunrise.i:3000"
181 end
182
183 class Comment < ActiveResource::Base
184 self.site = "http://37s.sunrise.i:3000"
185 end
186 end
187
188 assert_kind_of Highrise::Comment, Note.find(1).comments.first
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
189
234b0b7c » dhh
2007-04-26 Added support for using classes from within a single nested module [DHH]
190
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
191 * Added load_attributes_from_response as a way of loading attributes from other responses than just create [David Heinemeier Hansson]
37e8e35c » dhh
2007-04-26 Added load_attributes_from_response as a way of loading attributes fr…
192
193 class Highrise::Task < ActiveResource::Base
194 def complete
195 load_attributes_from_response(post(:complete))
196 end
197 end
198
199 ...will set "done_at" when complete is called.
200
201
9b8399fb » dhh
2007-04-26 Added support for calling custom methods #6979 [rwdaigle]
202 * Added support for calling custom methods #6979 [rwdaigle]
203
204 Person.find(:managers) # => GET /people/managers.xml
205 Kase.find(1).post(:close) # => POST /kases/1/close.xml
206
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
207 * Remove explicit prefix_options parameter for ActiveResource::Base#initialize. [Rick Olson]
208d12d1 » technoweenie
2007-04-24 Remove explicit prefix_options parameter for ActiveResource::Base#ini…
208 ActiveResource splits the prefix_options from it automatically.
209
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
210 * Allow ActiveResource::Base.delete with custom prefix. [Rick Olson]
208d12d1 » technoweenie
2007-04-24 Remove explicit prefix_options parameter for ActiveResource::Base#ini…
211
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
212 * Add ActiveResource::Base#dup [Rick Olson]
208d12d1 » technoweenie
2007-04-24 Remove explicit prefix_options parameter for ActiveResource::Base#ini…
213
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
214 * Fixed constant warning when fetching the same object multiple times [David Heinemeier Hansson]
c97f329b » dhh
2007-04-19 Disregard namespaces from the default element name, so Highrise::Pers…
215
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
216 * Added that saves which get a body response (and not just a 201) will use that response to update themselves [David Heinemeier Hansson]
c97f329b » dhh
2007-04-19 Disregard namespaces from the default element name, so Highrise::Pers…
217
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
218 * Disregard namespaces from the default element name, so Highrise::Person will just try to fetch from "/people", not "/highrise/people" [David Heinemeier Hansson]
c97f329b » dhh
2007-04-19 Disregard namespaces from the default element name, so Highrise::Pers…
219
d97456dd » jeremy
2007-03-11 Allow array and hash query parameters. Closes #7756.
220 * Allow array and hash query parameters. #7756 [Greg Spurrier]
221
1b1ddf17 » jeremy
2007-01-24 Loading a resource preserves its prefix_options. Closes #7353. Silenc…
222 * Loading a resource preserves its prefix_options. #7353 [Ryan Daigle]
223
f49e449e » technoweenie
2007-01-24 Carry over the convenience of #create from ActiveRecord. Closes #7340.…
224 * Carry over the convenience of #create from ActiveRecord. Closes #7340. [Ryan Daigle]
225
1bdb14bd » technoweenie
2007-01-23 Increase ActiveResource::Base test coverage. Closes #7173, #7174 [Ric…
226 * Increase ActiveResource::Base test coverage. Closes #7173, #7174 [Rich Collins]
227
e00e6a29 » jeremy
2007-01-17 Interpret 422 Unprocessable Entity as ResourceInvalid. Closes #7097.
228 * Interpret 422 Unprocessable Entity as ResourceInvalid. #7097 [dkubb]
229
932e7b00 » technoweenie
2007-01-16 Mega documentation patches. #7025, #7069 [rwdaigle]
230 * Mega documentation patches. #7025, #7069 [rwdaigle]
231
2bb33bbd » jeremy
2007-01-12 Base.exists?(id, options) and Base#exists? check whether the resource…
232 * Base.exists?(id, options) and Base#exists? check whether the resource is found. #6970 [rwdaigle]
233
4e57ac35 » jeremy
2006-12-29 Query string support. Closes #6855.
234 * Query string support. [untext, Jeremy Kemper]
235 # GET /forums/1/topics.xml?sort=created_at
236 Topic.find(:all, :forum_id => 1, :sort => 'created_at')
237
c1721540 » jeremy
2006-12-22 Base#==, eql?, and hash methods. == returns true if its argument is i…
238 * Base#==, eql?, and hash methods. == returns true if its argument is identical to self or if it's an instance of the same class, is not new?, and has the same id. eql? is an alias for ==. hash delegates to id. [Jeremy Kemper]
239
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
240 * Allow subclassed resources to share the site info [Rick Olson, Jeremy Kemper]
2df386ad » technoweenie
2007-04-24 why oh why do i always forget to save the changelog
241 d
011f4e74 » technoweenie
2006-12-13 Allow subclassed resources to share the site info [Rick]
242 class BeastResource < ActiveResource::Base
243 self.site = 'http://beast.caboo.se'
244 end
e6988ef2 » jeremy
2006-12-21 Subclasses share superclass site until explicitly set. This way you c…
245
011f4e74 » technoweenie
2006-12-13 Allow subclassed resources to share the site info [Rick]
246 class Forum < BeastResource
247 # taken from BeastResource
248 # self.site = 'http://beast.caboo.se'
249 end
e6988ef2 » jeremy
2006-12-21 Subclasses share superclass site until explicitly set. This way you c…
250
011f4e74 » technoweenie
2006-12-13 Allow subclassed resources to share the site info [Rick]
251 class Topic < BeastResource
e6988ef2 » jeremy
2006-12-21 Subclasses share superclass site until explicitly set. This way you c…
252 self.site += '/forums/:forum_id'
011f4e74 » technoweenie
2006-12-13 Allow subclassed resources to share the site info [Rick]
253 end
254
55d4dbb8 » technoweenie
2006-12-12 Fix issues with ActiveResource collection handling. Closes #6291. [bm…
255 * Fix issues with ActiveResource collection handling. Closes #6291. [bmilekic]
256
1d31a043 » Marcel Molina
2006-11-16 Use attr_accessor_with_default to dry up attribute initialization. Re…
257 * Use attr_accessor_with_default to dry up attribute initialization. References #6538. [Stuart Halloway]
258
9c944381 » jamis
2006-10-23 Add basic logging support for logging outgoing requests.
259 * Add basic logging support for logging outgoing requests. [Jamis Buck]
260
6c0609fa » jamis
2006-10-06 Add Base.delete for deleting resources without having to instantiate …
261 * Add Base.delete for deleting resources without having to instantiate them first. [Jamis Buck]
262
628838ed » jamis
2006-10-02 Make #save behavior mimic AR::Base#save (true on success, false on fa…
263 * Make #save behavior mimic AR::Base#save (true on success, false on failure). [Jamis Buck]
264
7ac6ed89 » technoweenie
2006-09-29 Add Basic HTTP Authentication to ActiveResource (closes #6305). [jona…
265 * Add Basic HTTP Authentication to ActiveResource (closes #6305). [jonathan]
266
4d63e01f » technoweenie
2006-09-20 fixed failing tests now that non-GET requests are sent with .xml file…
267 * Extracted #id_from_response as an entry point for customizing how a created resource gets its own ID.
268 By default, it extracts from the Location response header.
269
0a84624b » jeremy
2006-09-09 Optimistic locking: raise ActiveResource::ResourceConflict on 409 Con…
270 * Optimistic locking: raise ActiveResource::ResourceConflict on 409 Conflict response. [Jeremy Kemper]
271
272 # Example controller action
273 def update
274 @person.save!
275 rescue ActiveRecord::StaleObjectError
276 render :xml => @person.reload.to_xml, :status => '409 Conflict'
277 end
278
8d9e6609 » technoweenie
2006-09-08 Basic validation support [Rick Olson]
279 * Basic validation support [Rick Olson]
280
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
281 Parses the xml response of ActiveRecord::Errors#to_xml with a similar interface to ActiveRecord::Errors.
282
8d9e6609 » technoweenie
2006-09-08 Basic validation support [Rick Olson]
283 render :xml => @person.errors.to_xml, :status => '400 Validation Error'
284
c918fbf1 » jeremy
2006-09-04 Deep hashes are converted into collections of resources. Class attrib…
285 * Deep hashes are converted into collections of resources. [Jeremy Kemper]
286 Person.new :name => 'Bob',
287 :address => { :id => 1, :city => 'Portland' },
288 :contacts => [{ :id => 1 }, { :id => 2 }]
289 Looks for Address and Contact resources and creates them if unavailable.
290 So clients can fetch a complex resource in a single request if you e.g.
291 render :xml => @person.to_xml(:include => [:address, :contacts])
292 in your controller action.
293
7749c9c2 » technoweenie
2006-09-01 Major updates to ActiveResource, please see changelog and unit tests …
294 * Major updates [Rick Olson]
295
296 * Add full support for find/create/update/destroy
297 * Add support for specifying prefixes.
298 * Allow overriding of element_name, collection_name, and primary key
299 * Provide simpler HTTP mock interface for testing
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
300
7749c9c2 » technoweenie
2006-09-01 Major updates to ActiveResource, please see changelog and unit tests …
301 # rails routing code
302 map.resources :posts do |post|
303 post.resources :comments
304 end
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
305
7749c9c2 » technoweenie
2006-09-01 Major updates to ActiveResource, please see changelog and unit tests …
306 # ActiveResources
307 class Post < ActiveResource::Base
308 self.site = "http://37s.sunrise.i:3000/"
309 end
310
311 class Comment < ActiveResource::Base
312 self.site = "http://37s.sunrise.i:3000/posts/:post_id/"
313 end
3270c58e » spastorino
2010-08-14 Deletes trailing whitespaces (over text files only find * -type f -ex…
314
7749c9c2 » technoweenie
2006-09-01 Major updates to ActiveResource, please see changelog and unit tests …
315 @post = Post.find 5
316 @comments = Comment.find :all, :post_id => @post.id
317
318 @comment = Comment.new({:body => 'hello world'}, {:post_id => @post.id})
319 @comment.save
320
f9b36948 » jeremy
2006-08-31 200...400 are valid response codes. PUT and POST request bodies defau…
321 * Base.site= accepts URIs. 200...400 are valid response codes. PUT and POST request bodies default to ''. [Jeremy Kemper]
c1af2db1 » jeremy
2006-08-31 site= accepts URIs
322
46c7dd23 » fxn
2008-12-10 normalize author names in changelogs [#1495 state:committed]
323 * Initial checkin: object-oriented client for restful HTTP resources which follow the Rails convention. [David Heinemeier Hansson]
Something went wrong with that request. Please try again.