We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5e75b commit 8edb456Copy full SHA for 8edb456
lib/ajax-datatables-rails/base.rb
@@ -69,25 +69,6 @@ def connected_columns
69
70
private
71
72
- # view_columns can be an Array or Hash. we have to support all these formats of defining columns
73
- def connect_view_columns
74
- # @connect_view_columns ||= begin
75
- # adapted_options =
76
- # case view_columns
77
- # when Hash
78
- # when Array
79
- # cols = {}
80
- # view_columns.each_with_index({}) do |index, source|
81
- # cols[index.to_s] = { source: source }
82
- # end
83
- # cols
84
- # else
85
- # view_columns
86
87
- # ActiveSupport::HashWithIndifferentAccess.new adapted_options
88
89
- end
90
-
91
def retrieve_records
92
records = fetch_records
93
records = filter_records(records)
0 commit comments