Skip to content

v1.2.0

Choose a tag to compare

@derekprior derekprior released this 06 Feb 01:47
· 145 commits to main since this release
a61aa35

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, meaning rake db:schema:load was missing
    indexes.
  • Calling update_view for 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.

Full Changelog