Add possibility to not output thead at all #17

Open
ares opened this Issue Jun 24, 2011 · 0 comments

Comments

Projects
None yet
1 participant
@ares

ares commented Jun 24, 2011

Sometimes it's good to have a small table without any thead. Right now I can do only something like

table_for connections do |t|
  t.data do
    t.cell(:created_at, :heading => nil
    t.cell(:status, :heading => nil
  end
end

I would prefer to have some option at table_for that would disable tbody generation at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment