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.
https://www.simplify.ba/articles/2016/06/18/creating-rails5-api-only-application-following-jsonapi-specification/

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 <tusha...@daffodilsw.com> 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 ------------------------ hassan.s...@gmail.com
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0354952b-6526-4c05-92d3-78af0d77790d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment