项目作者: MarioCarrion

项目描述 :
Skeleton for creating a gem for Sharing your Active Record models
高级语言: Ruby
项目地址: git://github.com/MarioCarrion/share-activerecord-models.git
创建时间: 2016-02-27T02:09:26Z
项目社区:https://github.com/MarioCarrion/share-activerecord-models

开源协议:MIT License

下载


share-activerecord-models

This is a barebones repository describing how to use the rails gem for allowing you to use migrations, generators and at the same time to allow you share your ActiveRecord models.

I like PostgreSQL, therefore I like scenic so make sure you have your daemon running and then:

  1. rake db:create db:migrate db:test:prepare && rspec

Try using the regular generators:

  1. rails generate migration CreateYolos
  2. rails generate scenic:view yolo_products --materialized