Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix bad nodocs | Vijay Dev | 2011-12-01 | 1 | -11/+21 |
| | |||||
* | Revert "Implement ArraySerializer and move old serialization API to a new ↵ | José Valim | 2011-11-30 | 1 | -2/+2 |
| | | | | | | | | | | | | | namespace." This reverts commit 8896b4fdc8a543157cdf4dfc378607ebf6c10ab0. Conflicts: activemodel/lib/active_model.rb activemodel/lib/active_model/serializable.rb activemodel/lib/active_model/serializer.rb activemodel/test/cases/serializer_test.rb | ||||
* | fix deprecation warnings in activeresource | lest | 2011-11-30 | 2 | -27/+25 |
| | |||||
* | Fix missing single quote that was messing up syntax highlighting. | Robert Ross | 2011-11-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2011-10-14 | 1 | -0/+8 |
|\ | |||||
| * | improved ActiveResource's .element_path and .new_element_path methods ↵ | Diego Carrion | 2011-10-13 | 1 | -0/+8 |
| | | | | | | | | documentation by specifing how .site should be declared in order to use prefix_options | ||||
* | | Treat 303 See Other as a redirect response, too | Jeremy Kemper | 2011-10-11 | 2 | -3/+3 |
| | | |||||
* | | activeresource should treat HTTP status 307 as redirection, same as 301 and ↵ | Jim Herzberg | 2011-10-11 | 2 | -3/+3 |
|/ | | | | 302; added missing test cases for statii 301 and 302. | ||||
* | Provide read_attribute_for_serialization as the API to serialize attributes. | José Valim | 2011-09-30 | 1 | -0/+4 |
| | |||||
* | Fixed digest authentication for requests with a query string [#3158] | Colin Shield & Ian Lesperance | 2011-09-28 | 1 | -1/+4 |
| | |||||
* | Merge pull request #2678 from jmileham/ares_content_length_bug | Jon Leighton | 2011-09-12 | 1 | -1/+9 |
|\ | | | | | ActiveResource shouldn't rely on the presence of Content-Length | ||||
| * | ActiveResource shouldn't rely on the presence of Content-Length | John Mileham | 2011-09-11 | 1 | -1/+9 |
| | | |||||
* | | Do not use objects that don't respond to to_sym (integers, floats, dates...) ↵ | Marc G Gauthier | 2011-09-01 | 1 | -1/+1 |
| | | | | | | | | as parameters | ||||
* | | Do not try to use as a parameter elements that are not acceptable | Marc G Gauthier | 2011-08-19 | 1 | -1/+1 |
|/ | |||||
* | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 2 | -2/+2 |
| | | | | | | English to American English(according to Weber) | ||||
* | Master version is 3.2.0.beta | Santiago Pastorino | 2011-06-30 | 1 | -2/+2 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-06 | 1 | -2/+8 |
|\ | | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS | ||||
| * | annotate class_eval method for active resource schema attributes | Vijay Dev | 2011-06-05 | 1 | -2/+8 |
| | | |||||
* | | Corrected some typos and American vs. Queen's English issues | Lee Reilly | 2011-05-29 | 1 | -1/+1 |
|/ | |||||
* | Prefer each instead of for in activeresource | Guillermo Iguaran | 2011-05-23 | 1 | -1/+1 |
| | |||||
* | Bump versions for rc1 | David Heinemeier Hansson | 2011-05-21 | 1 | -1/+1 |
| | |||||
* | attr_accessor_with_default is deprecated, so lets not use it in ActiveResource | Josh Kalderimis | 2011-05-21 | 1 | -4/+16 |
| | |||||
* | corrected some further tests and docs for the ARes change to json change | Josh Kalderimis | 2011-05-18 | 3 | -69/+69 |
| | |||||
* | updated all the tests in ARes to work with json | Josh Kalderimis | 2011-05-18 | 6 | -20/+26 |
| | |||||
* | Update copyright year in Active Resource and Active Support | Vijay Dev | 2011-05-09 | 1 | -1/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Prepare for beta1 | David Heinemeier Hansson | 2011-05-04 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-05-04 | 3 | -10/+22 |
|\ | |||||
| * | Added some docs on ActiveResource::HttpMock | Sebastian Martinez | 2011-05-01 | 1 | -0/+4 |
| | | |||||
| * | Documented ActiveResource#observing | Sebastian Martinez | 2011-05-01 | 1 | -0/+8 |
| | | |||||
| * | Remove extra whitespaces. | Sebastian Martinez | 2011-05-01 | 1 | -5/+5 |
| | | |||||
| * | Fix punctuation errors. | Sebastian Martinez | 2011-05-01 | 1 | -5/+5 |
| | | |||||
* | | Optimize ActiveResource::Base.new(attributes) | Chris Griego | 2011-05-01 | 1 | -15/+24 |
|/ | | | | | | | | | | | | | | | | | | | | * 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) | ||||
* | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -1/+1 |
| | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`. | ||||
* | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 1 | -1/+1 |
| | | | | suggestion! | ||||
* | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 2 | -2/+4 |
| | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?. | ||||
* | Active Resource typos. | R.T. Lechow | 2011-03-05 | 1 | -2/+2 |
| | |||||
* | Fixed a bug where ActiveResource::HttpMock would not replace an existing ↵ | Josh Bassett | 2011-02-09 | 1 | -3/+14 |
| | | | | | | response when passing a block to the respond_to method. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | make the example code a bit more accurate | Akira Matsuda | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | Fix indentation | Akira Matsuda | 2011-01-29 | 1 | -1/+1 |
| | |||||
* | class inheritable attributes is used no more! all internal use of class ↵ | Josh Kalderimis | 2010-11-20 | 1 | -3/+5 |
| | | | | | | inheritable has been changed to class_attribute. class inheritable attributes has been deprecated. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Update the version.rb files to include a PRE part | Carl Lerche | 2010-11-16 | 1 | -2/+2 |
| | |||||
* | Always pull in version for frameworks (standardize autoload / require / none) | wycats | 2010-10-10 | 1 | -0/+1 |
| | |||||
* | - update documentation | Gaston Ramos | 2010-10-07 | 1 | -0/+9 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | - Fix ActiveResource::HttpMock.respond_to replace the response | Gaston Ramos | 2010-10-07 | 1 | -19/+28 |
| | | | | | | if it has the same request Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | PERF: more changes from inject({}) to Hash + map | Santiago Pastorino | 2010-10-03 | 1 | -1/+1 |
| | |||||
* | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 2 | -15/+12 |
| | |||||
* | Fix broken module namespacing in ActiveResource with Ruby 1.9 [#5699 ↵ | Matthijs Langenberg | 2010-09-27 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | state:resolved] 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: José Valim <jose.valim@gmail.com> | ||||
* | - update exceptions documentation | Gaston Ramos | 2010-09-27 | 1 | -0/+11 |
| | |||||
* | - check prefix options in collection_path | Gaston Ramos | 2010-09-27 | 1 | -0/+1 |
| | |||||
* | - refactoring, move prefix_options check to a custom method | Gaston Ramos | 2010-09-27 | 1 | -5/+9 |
| |