Bot releases are hidden (Show)
refresh_materialized_view
now accepts a cascade
option, which defaults tofalse
. Setting this option to true
will refresh any materialized views thesql_definition
argument is now supported when using update_view
.ar_internal_metadata
is no longer included in the schema dump for Rails 5scenic:model
generator will no longer create a fixture or factory.Published by calebhearth over 8 years ago
Added
CREATE OR REPLACE VIEW
rather than CREATE VIEW
or DROP VIEW
and CREATE VIEW
.scenic.searches
Fixed
rails generate scenic:view my_app.users
.db/schema.rb
. This wasrake db:schema:load
was missingupdate_view
for a materialized view now properly finds associatedNote: 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.
PG::ConnectionBad: connection is closed
error. This has been fixed by ensuring we grab a fresh connection forPublished by calebhearth almost 9 years ago
rake db:schema:load
.We've arrived at 1.0. Please enjoy!
Scenic::Configuration
.schema.rb
.alias_method_chain
deprecation when running with Rails masterdb/schema.rb
is prettier thanks to a blank line after each view definition.Published by calebhearth almost 10 years ago
Published by calebhearth almost 10 years ago
Scenic makes it easier to work with Postgres views in Rails.
It introduces view methods to ActiveRecord::Migration and allows views to be
dumped to db/schema.rb.
It provides generators for models, view definitions, and migrations.
It is build around a basic versioning system for view definition files.
In short, go add a view to your app.