Sha256: 318a01e3b9bb39c75acbd1d6ae485fdbcd7841f435c5e93a9334f5fd6a559eac
Contents?: true
Size: 859 Bytes
Versions: 1
Compression:
Stored size: 859 Bytes
Contents
[jTable](http://www.jtable.net/) - jQuery Datagrid done right ============================================================= [jTable JS project](https://github.com/yelvert/jtable) [jtable-rails RubyGem](https://github.com/yelvert/jtable-rails) [jTable.net source](https://github.com/yelvert/jtable-site) Usage ===== Basic ----- class Person < ActiveRecord::Base jtable :basic, :first_name, :last_name end This creates a jTable called *basic* with the attributes *first_name* and *last_name*. One-to-One Association ---------------------- class Person < ActiveRecord::Base has_one :place jtable :one_to_one, :first_name, :last_name, {:place => [:city, :state]} end This creates a jTable called *one_to_one* with the *person* attributes *first_name* and *last_name*, and the *place_attributes* *city* and *state*
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jtable-rails-0.2.1 | README.md |