RubyFlow The Ruby and Rails community linklog


The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Table Cloth - Easy to use tables in Rails views

I just launched Table Cloth. It’s an easy way of generating tables in Rails views. It gives the ability to render actions as well.

Small example: %= simple_table_for @users, with: UserTable % or!

%= simple_table_for @users do |t| % <% t.column :name %> <% t.column :email %> <% t.action {|user| link_to user } %> % end %

Check it out!

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in