Questions tagged [rails-api]

Rails for API only applications (>3.2)

Rails::API is a subset of a normal Rails application, created for applications that don't require all functionality that a complete Rails application provides. It is a bit more lightweight, and consequently a bit faster than a normal Rails application. The main example for its usage is in API applications only, where you usually don't need the entire Rails middleware stack nor template generation.

Using Rails for API-only Apps

This is a quick walk-through to help you get up and running with Rails::API to create API-only Apps, covering:

  • What Rails::API provides for API-only applications
  • How to decide which middlewares you will want to include
  • How to decide which modules to use in your controller
753 questions
-3
votes
1 answer

How to create chat app using actioncable in rails-api only project

I am using Front-end is Angular6 and my back-end is Rails. It is possible to create chat app with using action cable???
-3
votes
1 answer

No route matches?

I'm getting a "No route matches" exception in one of my tests (and using curl from the command line) one of my routes (POST /users/confirm). The curl's I've tried are as follows, neither of them work and receive the same exceptions outlined in the…
gangelo
  • 3,034
  • 4
  • 29
  • 43
-4
votes
2 answers

Rails-api and rendering html pages

I am using rails-api gem for an api project.... I have two or three webpages how do I do it SO that html will make an ajax call and consume JSONS Where can I keep the html pages and render it..
Abhishek.L
  • 19
  • 5
1 2 3
50
51