aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/test/fixtures
Commit message (Collapse)AuthorAgeFilesLines
* Remove Active Resource source files from the repositoryPrem Sichanugrist2012-03-139-79/+0
| | | | | | | | | | Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
* Prefer to document with https:// example URLs and no port numbersJeremy Kemper2012-01-221-1/+1
|
* Active Resource typos.R.T. Lechow2011-03-051-1/+1
|
* ActiveResource validation tests did not test ActiveModel validations. Adjust ↵Ken Mazaika2011-02-151-13/+6
| | | | | | the test to be done the Rails3 way. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix broken module namespacing in ActiveResource with Ruby 1.9 [#5699 ↵Matthijs Langenberg2010-09-271-1/+5
| | | | | | | | | | | | | | | | | | | | | | | 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>
* Allow ActiveResource to work with non-generated ids [#5660 state:resolved]Jacques Crocker2010-09-252-0/+24
| | | | | | 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: José Valim <jose.valim@gmail.com>
* ActiveResource shouldn't consider modules in the pathSantiago Pastorino2010-05-151-0/+5
| | | | | | [#4529 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com>
* Added validations to ActiveResource. Added a smoke test to see if we can add ↵taryn2009-08-191-0/+25
| | | | | | a validation and use it, and add a validates callback and use it. Signed-off-by: Joshua Peek <josh@joshpeek.com>
* HTTP proxy supportMarshall Huss2009-08-081-0/+4
| | | | | | [#2133 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixes parsing deep nested resources from XML. [#380 state:resolved]Luis Hurtado2008-06-091-0/+3
|
* Ruby 1.9 compat, consistent load pathsJeremy Kemper2007-10-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Subclasses share superclass site until explicitly set. This way you can set ↵Jeremy Kemper2006-12-211-2/+2
| | | | | | Superclass.site = ... after subclasses have been defined. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow subclassed resources to share the site info [Rick]Rick Olson2006-12-131-0/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5717 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deep hashes are converted into collections of resources. Class attribute ↵Jeremy Kemper2006-09-041-2/+2
| | | | | | writer methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major updates to ActiveResource, please see changelog and unit tests [Rick ↵Rick Olson2006-09-012-1/+5
| | | | | | Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Initial check-in of Active ResourseDavid Heinemeier Hansson2006-06-251-0/+3
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de