lib/ajax-datatables-rails/alt-api/datatable/row_context.rb
# This allows seamless delegation to @current_record or @view
This allows seamless delegation to @current_record or @view
This allows seamless delegation to @current_record or @view
def method_missing(meth, *args)
          if @record.respond_to?(meth)
            @record.send(meth, *args)
          elsif @view.respond_to?(meth)
            @view.send(meth, *args)
          else
            super
          end
        end
def method_missing ( meth , * args ) if @record . respond_to? ( meth ) @record . send ( meth , * args ) elsif @view . respond_to? ( meth ) @view . send ( meth , * args ) else super end end
This allows seamless delegation to @current_record or @view
This allows seamless delegation to @current_record or @view
meth
args