New
v1.2.0
Added
- The generators now accept namespaced view definitions. For example:
rails generate scenic:view my_app.users.
Fixed
- Materialized view indexes are now properly dumped to
db/schema.rb. This was an oversight in previous releases, meaningrake db:schema:loadwas missing indexes. - Calling
update_viewfor a materialized view now properly finds associated indexes for automatic reapplication. An issue in the previous index query was returning no indexes.
Note: Dumping materialized view indexes will produce an invalid
db/schema.rb file under Rails 5 beta 1 and beta 2. This is fixed on Rails
master.