Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 Rails 中创建一个接口,该接口可能无法直接与 activeresource 一起使用。
我将如何创建一个使用 rest-client 直接与 api 对话的模型?
继续使用活动资源但覆盖默认行为对我来说会更好吗?我该怎么做?
我曾经制作了一个使用 Java 图形数据库(neo4j)的 Rails 应用程序,它为 CRUD 操作(基本上)提供了一个 REST api。我使用了 HTTParty gem,例如,它调用了返回 JSON 的 REST api ,而不是create控制器调用的方法。ActiveRecord
create
ActiveRecord