Class | Hirb::Helpers::AutoTable |
In: |
lib/hirb/helpers/auto_table.rb
|
Parent: | Hirb::Helpers::Table |
This helper wraps around the other table helpers i.e. Hirb::Helpers::Table while providing default helper options via Hirb::DynamicView. Using these default options, this helper supports views for the following modules/classes: ActiveRecord::Base, CouchFoo::Base, CouchPotato::Persistence, CouchRest::ExtendedDocument, DBI::Row, DataMapper::Resource, Friendly::Document, MongoMapper::Document, MongoMapper::EmbeddedDocument, Mongoid::Document, Ripple::Document, Sequel::Model.
Takes same options as Hirb::Helpers::Table.render except as noted below.