Ruby on Rails and DataTables plug-in. Ajax-sourced tables

If we talk about sending some asynchronous requests with Ajax, naturally we’ll need some API endpoint which would return us the dataset that we, in turn, will use for populating our table. But since I don’t feel like creating the whole REST API project for one single endpoint, I’m sure we’ll be fine with just a regular controller action rendering some JSON.Next problem is a dataset. Apparently, we need some data to put into the table, right? Luckily a co-worker of mine came across a nice public dataset of South Park script lines along with seasons, episodes and characters. And I thought if it won’t help us, then what will?.
Ruby on Rails and DataTables plug-in. Ajax-sourced tables #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-on-rails-and-datatables-plug-in-ajax-sourced-tables

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles