Ruby on Rails Saturday, January 28, 2017

Hi Edsil Basadre,

Those errors were related testing. Becoz lot of things in Rspec are depriciated, when I remove Rspec and testing part from it, then its working fine. I follow the given tutorial and the concept of Api is clear and I am able to write api in rails5.

On Saturday, January 28, 2017 at 9:43:14 PM UTC+5:30, Hassan Schroeder wrote:
On Sat, Jan 28, 2017 at 5:11 AM, Tushar Garg <> wrote:

> I am new to rails.
> I want to write restful api's in rails. I start following the "API on Rails"
> book.
> By following that book, I come to know that there are lot of things are
> depreciated in rspec,

I would hope this book tells you what versions of gems it was using!
If so you can specify those in your Gemfile and things should work.

However, if the Rails version in question is no longer supported, then
you're better off finding a current tutorial, API-specific or not.

Hassan Schroeder ------------------------
twitter: @hassan
Consulting Availability : Silicon Valley or remote

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment