spec/support/datatables/complex_datatable.rb in ajax-datatables-rails-1.3.0 vs spec/support/datatables/complex_datatable.rb in ajax-datatables-rails-1.3.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
class ComplexDatatable < AjaxDatatablesRails::ActiveRecord
def view_columns
@view_columns ||= {
username: { source: 'User.username' },
email: { source: 'User.email' },