Sha256: c8ae849a1063c2212678b198a8776006b74993ca7931b53fe9ac306227d10a3c

Contents?: true

Size: 360 Bytes

Versions: 12

Compression:

Stored size: 360 Bytes

Contents

<%= grid(@projects_grid, show_filters: :always) do |g|

  g.column name:  'ID', attribute: 'id', filter: false

  g.column name:  'Project Name', attribute: 'name'

  g.column name:  'Customer company', attribute: 'name', assoc: :customer

  g.column name:  'Supplier company', attribute: 'name', assoc: :supplier, table_alias: 'suppliers_projects'

end -%>


Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
wice_grid-6.1.3 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-6.1.2 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-6.1.1 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-6.1.0 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-7.0.0 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-6.1.2 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-6.1.1 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-6.1.0 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-5.0.2 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-5.0.1 spec/support/test_app/app/views/two_associations/_grid.html.erb
pwice_grid-5.0.0 spec/support/test_app/app/views/two_associations/_grid.html.erb
wice_grid-4.1.0 spec/support/test_app/app/views/two_associations/_grid.html.erb