Sha256: 086b86a3b20bec7a78eff8675400b6ef2e56827a42e6b13292275384247c1214
Contents?: true
Size: 387 Bytes
Versions: 42
Compression:
Stored size: 387 Bytes
Contents
module Hirb::Views::CouchDb #:nodoc: def default_couch(obj) {:fields=>([:_id] + obj.class.properties.map {|e| e.name }) } end alias_method :couch_rest__extended_document_view, :default_couch alias_method :couch_foo__base_view, :default_couch alias_method :couch_potato__persistence_view, :default_couch end Hirb::DynamicView.add Hirb::Views::CouchDb, :helper=>:auto_table
Version data entries
42 entries across 41 versions & 5 rubygems