How to: Advanced Filtering with Ransack and "OR" Groupings
2019-06-26 ByZian Aguirre
A while ago, I was working on a CMS-like project that needed a custom filter for its User model; the filter was supposed to be a select-like component displaying all the available roles and the user should be able to pick more than one role and the f...
Automatic browser reload after Ruby-on-Rails deployment
2019-06-10 ByYan Carlos Marin
Ruby-on-Rails has integrated WebSockets in a very efficient way with Action Cable into Rails version 5. We can take advantage of this feature to transmit data from our server to the client side and so we can identify when there is a change in our app...
How To Use Neo4j With Rails
2017-09-12 ByFederico Ramallo
This data model allows you to avoid performance issues when you need to join multiple tables. Instead of rows you can use a more expressive and natural data model. Also the queries are faster to execute and easier to build on complex data relationshi...
Implementing Action Cable and Active Job in Rails 5
2016-06-09 ByTonatiuh Núñez
Have you checked Action Cable in Rails 5? It’s a nice addition that integrates WebSockets to Rails. In this post, we'll see how to implement Action Cable with Active Job. Active Job is a framework for declaring jobs.