Using Rails you can sometimes face some tricky situations. For example, the normal flow of visiting a website is that you load a page and if you want to see new information you have to either reload the page to update it or click a link to visit a different page. But what if you don’t want this page to reload? This is where AJAX comes in. In this article, we would tell you about using AJAX with Rails.
Hurray! New Rails digest arrived at the beginning of winter. It is likely, you heard of some open source projects, we share today, before. But it is also for sure, that some other of them from this list is a surprise for you. The worst thing about software development that you can’t use all of the cool tools you know. But more you know – the better solution you can find in future. In this ‘Monthly trending Ruby on Rails repositories. December, 5’ digest you will meet error monitoring for Rails, Vue on Rails gem, publishing framework, DB schema managing tool, carpooling platform, Vim config for Rails and many other awesome repositories!
Howdy! Today we’re gonna continue with our tutorial. This time we’ll talk about DataTables plug-in and Ajax-sourced tables. I thought you’d like to see some real-life examples of using DataTables, so let’s take a close look at how we can deal with serving tables with datasets provided by Ajax request.
Hi there! Are you a Ruby on Rails developer? Ever thought about why you should set up on backend all the pagination, sorting, searching and other stuff for the tables you’re showing in your views? I mean, that’s not a big deal but it means more code in your controllers, code in different actions similar enough to annoy you and still too different and insignificant to make you want to refactor it by let’s say creating a class where you’ll be able to initialize any table and provide additional functionality to it in the same way.