skip to Main Content

Twitter bootstrap – Datatables + JSON + best_in_place

I can not add gem best_in_place to my table. class_datatable.rb: def data class.map do |record| [ best_in_place(record, :name), best_in_place(record, :short_name) ] end end There is an error: NoMethodError (undefined method `best_in_place' for ClassDatatable:0xa9283a44) My gem file: source 'https://rubygems.org' # Bundle…

VIEW QUESTION
Back To Top
Search