Sha256: f62b5d7696a96e7066ffe7689e036a30130647f5c75d61323248d8e359fd3da6
Contents?: true
Size: 1.33 KB
Versions: 4
Compression:
Stored size: 1.33 KB
Contents
[](http://badge.fury.io/rb/databound) [](http://badge.fury.io/bo/databound) [](http://badge.fury.io/js/databound) [](https://codeclimate.com/github/Nedomas/databound) [](https://travis-ci.org/Nedomas/databound)  Provides Javascript a simple CRUD API to the Ruby on Rails backend. This repo is for Ruby on Rails backend part of Databound. **Check out live examples on the Databound website** [databound.me](http://databound.me). **You can also check out the javascript** [Databound repo](https://github.com/Nedomas/databound). ## Usage ```js User = new Databound('/users') User.where({ name: 'John' }).then(function(users) { alert('Users called John'); }); User.find(15).then(function(user) { alert('User no. 15: ' + user.name); }); User.create({ name: 'Peter' }).then(function(user) { alert('I am ' + user.name + ' from database'); }); ``` [More API docs](http://nedomas.github.io/databound/src/databound.html)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
databound-3.0.3 | README.md |
databound-3.0.2 | README.md |
databound-3.0.1 | README.md |
databound-3.0.0 | README.md |