In Ruby on Rails 5.1.0, generated virtual column support was added for MySQL and MariaDB. Using generated and stored columns can leverage heavy calculations to the SQL side. https://www.driftingruby.com/episodes/virtual-columns-in-mysql
1 Like