- 14 2月, 2012 1 次提交
-
-
由 Mark McSpadden 提交于
-
- 05 2月, 2012 1 次提交
-
-
由 Matt Jones 提交于
-
- 23 1月, 2012 4 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 19 1月, 2012 1 次提交
-
-
由 kennyj 提交于
-
- 21 12月, 2011 1 次提交
-
-
由 Arun Agrawal 提交于
-
- 01 12月, 2011 1 次提交
-
-
由 José Valim 提交于
This reverts commit 8896b4fd. Conflicts: activemodel/lib/active_model.rb activemodel/lib/active_model/serializable.rb activemodel/lib/active_model/serializer.rb activemodel/test/cases/serializer_test.rb
-
- 30 11月, 2011 1 次提交
-
-
由 lest 提交于
-
- 14 10月, 2011 1 次提交
-
-
由 Diego Carrion 提交于
improved ActiveResource's .element_path and .new_element_path methods documentation by specifing how .site should be declared in order to use prefix_options
-
- 12 10月, 2011 2 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jim Herzberg 提交于
activeresource should treat HTTP status 307 as redirection, same as 301 and 302; added missing test cases for statii 301 and 302.
-
- 30 9月, 2011 1 次提交
-
-
由 José Valim 提交于
-
- 12 9月, 2011 1 次提交
-
-
由 John Mileham 提交于
-
- 02 9月, 2011 1 次提交
-
-
由 Marc G Gauthier 提交于
-
- 19 8月, 2011 1 次提交
-
-
由 Marc G Gauthier 提交于
-
- 24 7月, 2011 1 次提交
-
-
由 Oemuer Oezkir 提交于
American English(according to Weber)
-
- 30 5月, 2011 1 次提交
-
-
由 Lee Reilly 提交于
-
- 21 5月, 2011 1 次提交
-
-
由 Josh Kalderimis 提交于
-
- 18 5月, 2011 2 次提交
-
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
- 02 5月, 2011 1 次提交
-
-
由 Chris Griego 提交于
* Add performance benchmark similar to ActiveRecord * Lazily find_or_create_resource_for_collection to not incur the overhead for empty arrays and arrays of primatives * #duplicable? is faster than inline rescues when the object is not duplicable * Don't constantly raise and handle NameError, raising is expensive * Even when a resource is nested inside a module, always look inside the class first for the resource definition so we don't overwrite classes all the time Before: user system total real Model.new (instantiation) 0.120000 0.000000 0.120000 ( 0.119961) Nested::Model.new (instantiation) 0.150000 0.010000 0.160000 ( 0.151183) Model.new (setting attributes) 28.540000 0.680000 29.220000 ( 29.271775) Nested::Model.new (setting attributes) 29.740000 0.580000 30.320000 ( 30.486210) After: user system total real Model.new (instantiation) 0.120000 0.000000 0.120000 ( 0.121249) Nested::Model.new (instantiation) 0.150000 0.010000 0.160000 ( 0.152429) Model.new (setting attributes) 11.480000 0.170000 11.650000 ( 11.656163) Nested::Model.new (setting attributes) 11.510000 0.210000 11.720000 ( 11.724249)
-
- 05 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 04 3月, 2011 1 次提交
-
-
由 R.T. Lechow 提交于
-
- 29 1月, 2011 2 次提交
-
-
由 Akira Matsuda 提交于
-
由 Akira Matsuda 提交于
-
- 21 11月, 2010 1 次提交
-
-
由 Josh Kalderimis 提交于
class inheritable attributes is used no more! all internal use of class inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 28 9月, 2010 7 次提交
-
-
由 Emilio Tagua 提交于
-
由 Emilio Tagua 提交于
-
由 Matthijs Langenberg 提交于
Following namespace use case was broken with Ruby 1.9: class Author < ActiveRecord::Base ... end module Api class Book < ActiveResouce::Base end end Let's say XML contains <book><author><name>John</name></author>.... Api::Book.first.author.class.to_s #=> Ruby 1.8.7: "Api::Book::Author" (namespaced, correct), Ruby 1.9: "Author" (toplevel, broken) Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Gaston Ramos 提交于
-
由 Gaston Ramos 提交于
-
由 Gaston Ramos 提交于
-
由 Gaston Ramos 提交于
- elmenth_path raise an ActiveResource::MissingPrefixParam exception when prefix_options does not has all required prefix_options ex: class StreetAddress < ActiveResource::Base self.site = "http://37s.sunrise.i:3000/people/:person_id/" end StreetAddress.element_path(1) # => ActiveResource::MissingPrefixParam
-
- 25 9月, 2010 2 次提交
-
-
由 Jacques Crocker 提交于
Previously, ActiveResource was using the connection level formatter for get requests. This made it impossible to use custom formatters per resource. Additionally this commit makes the Connection request methods more consistent. It always returns a Response. The base will then decode it each the response using its format setting. Merging this commit will allow users to add custom formatters on a per Resource basis. This enables handling pagination responses from the server side, a very common use case that was previously impossible without monkeypatching XmlFormat. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
由 Jacques Crocker 提交于
This commit updates new? so that it knows whether or not the record was actually new or not, and doesn't rely solely on the presence of id. This enables the ability to set a custom primary_key that is not autogenerated by the server. Signed-off-by: NJosé Valim <jose.valim@gmail.com>
-
- 23 9月, 2010 1 次提交
-
-
由 Emilio Tagua 提交于
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 20 9月, 2010 1 次提交
-
-
由 Thiago Pradi 提交于
[#5601 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 19 9月, 2010 1 次提交
-
-
由 Mike Abner 提交于
make sure a Content-Length header exists and that the response.body is not nil before trying to call methods on it. Rack does not allow HTTP 204 responses to have a content-length header set. [#5038 state:resolved]
-