CRUD through HTTP is a good step forward to using resources and becoming RESTful. Another step further into it is to make use of hypermedia-based services and the Restfulie gem allows you to do it very quickly.
I assume this is not correct behaviour? Or is the tutorial out of date or something else has gone screwy? using restfulie 1.0.0 on ruby 1.8.7 with rails 3.0.5
I have just gone through the ruby one minute tutorial at https://github.com/caelum/restfulie/wiki/ruby_one_minute but there appears to be unexpected results.
According to the page, after un-marshalling the response I should have an array of companies that I can find the details of using, for example
What I am actually getting is a Hash which contains another hash which contains the actual items so I have to use the following
I assume this is not correct behaviour? Or is the tutorial out of date or something else has gone screwy? using restfulie 1.0.0 on ruby 1.8.7 with rails 3.0.5