RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: Chrisgo-75
I needed to use radio_button_tag and got it to work using Ryan's example with: File: people_datatable.rb
delegate :params, :h, :link_to, :radio_button_tag, :number_to_currency, to: :@view private def data people.map do |person| [ radio_button_tag('person', person.id), h(person.last_name), h(person.first_name) ] end end
I needed to use radio_button_tag and got it to work using Ryan's example with:
File: people_datatable.rb