Hi,
I've implemented this gem and wrote a query (which includes a self
join), and I am getting the following error
when trying to run the db:migrate command
undefined method `create_view' for
#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0x2474c60>
I'm a bit new to Rails, and I'm not sure what's missing here. I've
included the following in my environment file:
gem 'rails_sql_views'
Any pointers on this? we have an existing database and have a few
views we'd really like to utilize.
Did some more digging on this and there's an issue with the gem.
you'll need to update the gem and comment out the following code:
rails_sql_views.rb:29