Scenic-Mysql adds a Mysql Adapter to scenic
Add to your Gemfile:
gem 'scenic'
gem 'scenic-mysql'Then bundle install.
# config/initializers/scenic.rb
Scenic.configure do |config|
config.adapter = Scenic::Adapters::Mysql.new
endAnd that's all!
Mysql does not offer support for materialized views, so any calls to materialized views
will either result in false, or raise a Scenic::Adapters::Mysql::MaterializedViewsNotSupportedError
scenic-mysql is currently maintained by Rennan Oliveira and Abraão Miranda.
This gem is merely a Mysql adapter implementation to the awesome scenic project, and in no way claims to have any direct relation with its maintainers.