Method: TableHelp::Helper#table_for
- Defined in:
- lib/table_help/helper.rb
#table_for(collection_or_resource, options = {}) ⇒ Object Also known as: attributes_table_for
3 4 5 |
# File 'lib/table_help/helper.rb', line 3 def table_for(collection_or_resource, = {}) resolve_builder_from(collection_or_resource, ).tap { |this| yield this }.to_html end |