grape tag

5 questions


1 answers
97 views
0
"Unable to autoload constant API, ~(LoadError)" error when using grape in rails

I'm a beginner at ruby.Excuse me for the rudimentary question.Using this article (http://blog.dakatsuka.jp/2011/05/27/grape.html), I am trying to create an API by adding grape to rails./Users/masah/.r...

1 years ago

1 answers
70 views
0
"Unable to autoload constant API, ~(LoadError)" error when using grape in rails

I'm a beginner at ruby.Excuse me for the rudimentary question.Using this article (http://blog.dakatsuka.jp/2011/05/27/grape.html), I am trying to create an API by adding grape to rails./Users/masah/.r...

1 years ago

1 answers
62 views
0
Please tell me how to separate the content-type processing in grape.

I am creating an API using grape.(I don't use other frameworks such as ruby on rails or sinatora .grape alone.)Check the content-type of the http header in the request and determine if the value is ap...

1 years ago

2 answers
54 views
0
Is it okay if the route structure of rails as a web application is different from that of rails as an API of iOS application?

For example, if there were User and Product models, when each is in a user has_many products, product belongs_to user relationship.I want to shorten the URL if it's a web app, so I'll use the URL stru...


1 answers
65 views
0
Rails+grape How the API prints information about the table associated with jbuilders in json format

I'm worried about how to make json templates in jbuilder.How can I write a template for json in order to provide information about the Post associated with the user in json?Ideally From GET to /api/v1...

1 years ago

© 2024 OneMinuteCode. All rights reserved.