Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs need some updating #55

Open
dingus9 opened this issue Apr 24, 2012 · 0 comments
Open

Docs need some updating #55

dingus9 opened this issue Apr 24, 2012 · 0 comments

Comments

@dingus9
Copy link

dingus9 commented Apr 24, 2012

First

Should note this requirement for rails_sql_views for sqlite3 in the User Guid after step 1

See also http://activewarehouse.rubyforge.org/rails_sql_views/

In your Gemfile add:
gem 'rails_sql_views', :git => 'https://github.com/morgz/rails_sql_views.git'

In your config/environment.rb add:
require 'rails_sql_views'

Second

The field field :inheritance_column_name seems to actually be :type for a citier parent class's inheritance column as seen in this example:

class CreateMedias < ActiveRecord::Migration
  def self.up
    create_table :medias do |t|
      t.string :inheritance_column_name
      t.string :name
      t.integer :price
    end
  end
  def self.down
    drop_table :medias
  end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant