bobbytables / table_cloth

Table Cloth is a table view helper for Rails. It makes generating the HTML in Rails Views easy.
MIT License
163 stars 41 forks source link

Add support for associations #14

Open patbenatar opened 11 years ago

patbenatar commented 11 years ago

Instead of:

column(:name) { |order| order.user.name }

I'd like:

column(user: :name)
bobbytables commented 11 years ago

What about:

column :"order.name"

Which doesn't get weird with column options.

phikes commented 10 years ago

I'd like to see that, too. Good work btw! :+1: