Sha256: 144407ad4a0ea9d1fcab7de87187abbd6c0b8d2f951a355054d33dd1ac366e39
Contents?: true
Size: 377 Bytes
Versions: 42
Compression:
Stored size: 377 Bytes
Contents
module Hirb::Views::MiscDb #:nodoc: def friendly__document_view(obj) {:fields=>obj.class.attributes.keys - [:id]} end def ripple__document_view(obj) {:fields=>obj.class.properties.keys} end def d_b_i__row_view(obj) {:fields=>obj.column_names, :table_class=>Hirb::Helpers::Table} end end Hirb::DynamicView.add Hirb::Views::MiscDb, :helper=>:auto_table
Version data entries
42 entries across 41 versions & 5 rubygems