Scenic adds methods to ActiveRecord::Migration to create and manage database views in Rails.

Using Scenic, you can bring the power of SQL views to your Rails application without having to switch your schema format to SQL. Scenic provides a convention for versioning views that keeps your migration history consistent and reversible and avoids having to duplicate SQL strings across migrations. As an added bonus, you define the structure of your view in a SQL file, meaning you get full SQL syntax highlighting in the editor of your choice and can easily test your SQL in the database console during development.

Scenic ships with support for PostgreSQL. The adapter is configurable (see Scenic::Configuration) and has a minimal interface (see Scenic::Adapters::Postgres) that other gems can provide.

Code Quality Rank: L5
Monthly Downloads: 157,370
Programming language: Ruby
License: MIT License
Tags: Database Tools    

Scenic alternatives and related gems

Based on the "Database Tools" category

Do you think we are missing an alternative of Scenic or a related project?

Add another 'Database Tools' Gem

Scenic Recommendations

There are no recommendations yet. Be the first to promote Scenic!

Have you used Scenic? Share your experience. Write a short recommendation and Scenic, you and your project will be promoted on Awesome Ruby.
Recommend Scenic

Recently added Scenic resources