diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-09-01 01:15:10 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-09-01 01:15:10 +0000 |
commit | 7749c9c2200ad190e3f9935c27f09ec9b95227f2 (patch) | |
tree | 5ef693429c4511957bee18bf20594b948bb3a249 /activeresource/test/fixtures | |
parent | e278b72bf3238353906a6cb928410aaf712556f4 (diff) | |
download | rails-7749c9c2200ad190e3f9935c27f09ec9b95227f2.tar.gz rails-7749c9c2200ad190e3f9935c27f09ec9b95227f2.tar.bz2 rails-7749c9c2200ad190e3f9935c27f09ec9b95227f2.zip |
Major updates to ActiveResource, please see changelog and unit tests [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource/test/fixtures')
-rw-r--r-- | activeresource/test/fixtures/person.rb | 2 | ||||
-rw-r--r-- | activeresource/test/fixtures/street_address.rb | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/activeresource/test/fixtures/person.rb b/activeresource/test/fixtures/person.rb index 4914863230..8e5768586a 100644 --- a/activeresource/test/fixtures/person.rb +++ b/activeresource/test/fixtures/person.rb @@ -1,3 +1,3 @@ class Person < ActiveResource::Base - self.site = "http://37s.sunrise.i:3000/" + self.site = "http://37s.sunrise.i:3000" end
\ No newline at end of file diff --git a/activeresource/test/fixtures/street_address.rb b/activeresource/test/fixtures/street_address.rb new file mode 100644 index 0000000000..84f20bbed6 --- /dev/null +++ b/activeresource/test/fixtures/street_address.rb @@ -0,0 +1,4 @@ +class StreetAddress < ActiveResource::Base + self.site = "http://37s.sunrise.i:3000/people/:person_id/" + set_element_name 'address' +end
\ No newline at end of file |