spec/support/datatables/complex_datatable.rb in ajax-datatables-rails-1.3.1 vs spec/support/datatables/complex_datatable.rb in ajax-datatables-rails-1.4.0

- old
+ new

@@ -5,10 +5,11 @@ @view_columns ||= { username: { source: 'User.username' }, email: { source: 'User.email' }, first_name: { source: 'User.first_name' }, last_name: { source: 'User.last_name' }, + full_name: { source: 'full_name' }, post_id: { source: 'User.post_id', orderable: false }, created_at: { source: 'User.created_at' }, } end @@ -17,9 +18,10 @@ { username: record.username, email: record.email, first_name: record.first_name, last_name: record.last_name, + full_name: record.full_name, post_id: record.post_id, created_at: record.created_at, } end end