aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource
Commit message (Collapse)AuthorAgeFilesLines
* add handling for backwards-compatibility and update documentationMatt Jones2012-02-042-4/+37
|
* Merge remote-tracking branch 'odorcicd/fix_activeresource_json_errors' into ↵Matt Jones2012-02-041-2/+16
|\ | | | | | | compatible_json_errors
| * Fix ActiveResource JSON error parser and incorrect testsDenis Odorcic2011-09-161-2/+16
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-261-1/+1
|\ \
| * | Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-251-1/+1
| | | | | | | | | | | | | | | | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* | | code improvedSachin872012-01-241-6/+3
| | |
* | | Clean up http configJeremy Kemper2012-01-221-26/+16
| | |
* | | Clean up SSL client cert exampleJeremy Kemper2012-01-221-4/+8
| | |
* | | Prefer to document with https:// example URLs and no port numbersJeremy Kemper2012-01-222-19/+19
| | |
* | | Describe Basic and Digest authentication. Document how to set auth_type to ↵Jeremy Kemper2012-01-221-14/+27
| | | | | | | | | | | | :digest.
* | | One space separates sentences, not twoJeremy Kemper2012-01-223-34/+34
|/ /
* | Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.kennyj2012-01-192-4/+4
| |
* | Removal dead code from my side :-)Arun Agrawal2011-12-211-2/+2
| |
* | rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+David Heinemeier Hansson2011-12-201-3/+3
| |
* | Party like its R-C-UNO!David Heinemeier Hansson2011-12-191-1/+1
| |
* | fix bad nodocsVijay Dev2011-12-011-11/+21
| |
* | Revert "Implement ArraySerializer and move old serialization API to a new ↵José Valim2011-11-301-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 activeresourcelest2011-11-302-27/+25
| |
* | Fix missing single quote that was messing up syntax highlighting.Robert Ross2011-11-211-1/+1
| |
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-10-141-0/+8
|\ \
| * | improved ActiveResource's .element_path and .new_element_path methods ↵Diego Carrion2011-10-131-0/+8
| | | | | | | | | | | | documentation by specifing how .site should be declared in order to use prefix_options
* | | Treat 303 See Other as a redirect response, tooJeremy Kemper2011-10-112-3/+3
| | |
* | | activeresource should treat HTTP status 307 as redirection, same as 301 and ↵Jim Herzberg2011-10-112-3/+3
|/ / | | | | | | 302; added missing test cases for statii 301 and 302.
* | Provide read_attribute_for_serialization as the API to serialize attributes.José Valim2011-09-301-0/+4
| |
* | Fixed digest authentication for requests with a query string [#3158]Colin Shield & Ian Lesperance2011-09-281-1/+4
|/
* Merge pull request #2678 from jmileham/ares_content_length_bugJon Leighton2011-09-121-1/+9
|\ | | | | ActiveResource shouldn't rely on the presence of Content-Length
| * ActiveResource shouldn't rely on the presence of Content-LengthJohn Mileham2011-09-111-1/+9
| |
* | Do not use objects that don't respond to to_sym (integers, floats, dates...) ↵Marc G Gauthier2011-09-011-1/+1
| | | | | | | | as parameters
* | Do not try to use as a parameter elements that are not acceptableMarc G Gauthier2011-08-191-1/+1
|/
* Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-242-2/+2
| | | | | | English to American English(according to Weber)
* Master version is 3.2.0.betaSantiago Pastorino2011-06-301-2/+2
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-06-061-2/+8
|\ | | | | | | | | Conflicts: activerecord/RUNNING_UNIT_TESTS
| * annotate class_eval method for active resource schema attributesVijay Dev2011-06-051-2/+8
| |
* | Corrected some typos and American vs. Queen's English issuesLee Reilly2011-05-291-1/+1
|/
* Prefer each instead of for in activeresourceGuillermo Iguaran2011-05-231-1/+1
|
* Bump versions for rc1David Heinemeier Hansson2011-05-211-1/+1
|
* attr_accessor_with_default is deprecated, so lets not use it in ActiveResourceJosh Kalderimis2011-05-211-4/+16
|
* corrected some further tests and docs for the ARes change to json changeJosh Kalderimis2011-05-183-69/+69
|
* updated all the tests in ARes to work with jsonJosh Kalderimis2011-05-186-20/+26
|
* Prepare for beta1David Heinemeier Hansson2011-05-041-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-043-10/+22
|\
| * Added some docs on ActiveResource::HttpMockSebastian Martinez2011-05-011-0/+4
| |
| * Documented ActiveResource#observingSebastian Martinez2011-05-011-0/+8
| |
| * Remove extra whitespaces.Sebastian Martinez2011-05-011-5/+5
| |
| * Fix punctuation errors.Sebastian Martinez2011-05-011-5/+5
| |
* | Optimize ActiveResource::Base.new(attributes)Chris Griego2011-05-011-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 SupportPrem Sichanugrist2011-04-131-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 Hansson2011-04-121-1/+1
| | | | suggestion!
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-112-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. Lechow2011-03-051-2/+2
|