lib/ajax-datatables-rails/alt-api/datatable.rb
# There are some hard to debug scenarios that come up with ajax-datatables-rails.
# This helps debug some problems. Usually the bug is caused by some mismatched
# expectation between what the view_columns are and how it is being used.
There are some hard to debug scenarios that come up with ajax-datatables-rails.
This helps debug some problems. Usually the bug is caused by some mismatched
expectation between what the view_columns are and how it is being used.
There are some hard to debug scenarios that come up with ajax - datatables - rails . This helps debug some problems . Usually the bug is caused by some mismatched expectation between what the view_columns are and how it is being used .
def records_with_error_logging
        @records ||= records
      rescue NoMethodError => e
        if e.name == :fetch && e.receiver.nil?
          Rails.logger.error String.new("#{self.class.name} column problem. view_columns: #{view_columns.pretty_inspect}")
        end
        raise e
      end
def records_with_error_logging @records ||= records rescue NoMethodError => e if e . name == :fetch && e . receiver . nil? Rails . logger . error String . new ( "#{self.class.name} column problem. view_columns: #{view_columns.pretty_inspect}" ) end raise e end
There are some hard to debug scenarios that come up with ajax-datatables-rails.
There are some hard to debug scenarios that come up with ajax - datatables - rails .