Hi Justin

In the past I have used either ActiveResource (if the restful interface
conforms to the standards that ActiveResource expects) or the rest-client
gem.

One problem I have run into though is the problem of creating data to test
against. Sometimes this isn't possible, especially in endpoints you dont
control, or read-only endpoints. In these cases I used WebMock or FakeWeb
to mock the needed responses from the end-point. This allows you to test
the code on your side without testing the end-point itself.

I hope this helps

Chris

On 31 October 2011 10:18, Justin Urbanski <[email protected]> wrote:

> All,
>
> We have a requirement to build a UI without a DB. Instead of a DB there is
> another RESTful interface. What are people's opinions on this?
> How would you actually do this in rails?
>
> Thanks,
> Justin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby or Rails Oceania" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rails-oceania?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to