ruby on rails - RoR - Project that exclusively uses another systems API? -
ruby on rails - RoR - Project that exclusively uses another systems API? -
absolute beginner ruby , rails. first total blown project interface existing scheme through rest api.
so doesn't employ normal activerecord model , hoping examples of projects replace normal utilize of models api calls. entire crud set require app create corresponding api calls. i'd right way, don't know looks yet.
thanks! :)
helpful links googlers:
http://yetimedia.tumblr.com/post/35233051627/activeresource-is-dead-long-live-activeresource https://github.com/rails/activeresource
i don't know of projects open source this, i'd recommend looking active resource. part of rails through 3.2, has been moved separate repo rails 4. thought lets replace database persistance restful apis, sounds you're trying do. there documentation here should give plenty info off ground. there's pretty old railscast on it, i'm sure concepts haven't changed much.
here's illustration docs shows how setup "model":
class person < activeresource::base self.site = "http://api.people.com:3000" end
ruby-on-rails wrapper rails-activerecord
Comments
Post a Comment