aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed digest authentication for requests with a query string [#3158]Colin Shield & Ian Lesperance2011-09-282-1/+10
|
* Make serializable_hash take attr values directly from attributes hash.Jon Leighton2011-09-261-3/+11
| | | | | | | | | | | | Previously, it would use send() to get the attribute. In Active Resource, this would rely on hitting method missing. If a method with the same name was defined further up the ancestor chain, that method would wrongly be called. This change fixes test_to_xml_with_private_method_name_as_attribute in activeresource/test/cases/base_test.rb, which was broken after 51bef9d8fb0b4da7a104425ab8545e9331387743, because that change made to_xml use serializable_hash.
* update 3.1 release date in changelogsVijay Dev2011-09-141-1/+1
|
* Merge pull request #2678 from jmileham/ares_content_length_bugJon Leighton2011-09-122-4/+36
|\ | | | | 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
| |
| * Failing test: ActiveResource shouldn't rely on the presence of Content-LengthJohn Mileham2011-09-091-3/+27
| |
* | Not used variables removed. Warnings removed.Arun Agrawal2011-09-101-2/+2
| |
* | Do not use objects that don't respond to to_sym (integers, floats, dates...) ↵Marc G Gauthier2011-09-012-1/+20
| | | | | | | | as parameters
* | Do not try to use as a parameter elements that are not acceptableMarc G Gauthier2011-08-191-1/+1
|/
* comma is more appropriate hereWaynn Lue2011-08-131-2/+2
|
* Rubygems => RubyGemsSukeerthi Adiga2011-08-131-1/+1
|
* fix some types in schema_test.rbLachlan Sylvester2011-08-131-5/+5
|
* The trailing '/' isn't being picked up by Github anyway, and the link works ↵Rashmi Yadav2011-08-131-1/+1
| | | | as is.
* extra '/' removed from url, which was not linkedBratish Goswami2011-08-131-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
|
* remove warning: assigned but unused variableSantiago Pastorino2011-06-084-4/+3
|
* 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
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-1/+23
|\ | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb activesupport/lib/active_support/core_ext/kernel/requires.rb
| * changed http://api.rubyonrails.com to http://api.rubyonrails.org in readme ↵Karunakar (Ruby)2011-05-241-1/+1
| | | | | | | | files
| * active resource instalation instructions and LicenceKarunakar (Ruby)2011-05-241-1/+23
| |
* | Add the MIT-LICENSE to the Active Resource gemspecFranck Verrot2011-05-251-1/+1
| |
* | fixes Rake::GemPackageTask deprecation warnings from rake 0.9.0Vijay Dev2011-05-241-2/+2
| |
* | Prefer each instead of for in activeresourceGuillermo Iguaran2011-05-231-1/+1
| |
* | Merge pull request #1192 from arunagw/removal_extraJosé Valim2011-05-221-6/+0
|\ \ | | | | | | No more need rubygems here.
| * | Not loading ruby-debug specially. Arun Agrawal2011-05-221-5/+0
| | |
| * | No more need rubygems here.Arun Agrawal2011-05-221-1/+0
| | |
* | | Bump versions for rc1David Heinemeier Hansson2011-05-211-1/+1
|/ /
* | Merge pull request #1165 from arunagw/rubyforge_removeJosé Valim2011-05-211-1/+0
|\ \ | | | | | | Not updating rubyforge for new versions.
| * | Not updating rubyforge for new versions. Result of "gem list -d rails" is ↵Arun Agrawal2011-05-201-1/+0
| |/ | | | | | | not useful.
* / attr_accessor_with_default is deprecated, so lets not use it in ActiveResourceJosh Kalderimis2011-05-211-4/+16
|/
* updated the ActiveResource changelogJosh Kalderimis2011-05-181-4/+8
|
* corrected some further tests and docs for the ARes change to json changeJosh Kalderimis2011-05-187-108/+108
|
* removed a contrived ARes exampleJosh Kalderimis2011-05-181-15/+0
|
* updated all the tests in ARes to work with jsonJosh Kalderimis2011-05-1818-283/+324
|
* move the ARes conn test to the correct locationJosh Kalderimis2011-05-181-5/+5
|
* remove a circular dependencyJosh Kalderimis2011-05-181-2/+0
|
* Follow code conventions on some testsSebastian Martinez2011-05-101-1/+1
|
* Merging 3.0.x CHANGELOGsGuillermo Iguaran2011-05-101-1/+29
|
* Update copyright year in Active Resource and Active SupportVijay Dev2011-05-091-1/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* 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-012-15/+94
|/ | | | | | | | | | | | | | | | | | | | * 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)
* Fixed minor typo in commentPaolo "Nusco" Perrotta2011-04-261-1/+1
|