Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[每日见闻-2017-06-30]使用Rails构建Api. #1

Closed
xiaohesong opened this issue Jun 30, 2017 · 0 comments
Closed

[每日见闻-2017-06-30]使用Rails构建Api. #1

xiaohesong opened this issue Jun 30, 2017 · 0 comments
Labels

Comments

@xiaohesong
Copy link
Owner

Rails的框架太重,很多人以Api为主的项目,都会选择其他的框架.sinatra,rabl,grape..诸如此类的框架.
其实用Rails也还是可以的.直接controller继承自ActionControll::Metal.仅仅加载用到的模块的模块.
参考这里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant