commit
f15cf55248
|
@ -4,6 +4,7 @@ require "rails"
|
|||
module Impressionist
|
||||
class Engine < Rails::Engine
|
||||
initializer 'impressionist.model' do |app|
|
||||
require "../app/models/impressionist/impressionable.rb"
|
||||
if Impressionist.orm == :active_record
|
||||
require "impressionist/models/active_record/impression.rb"
|
||||
require "impressionist/models/active_record/impressionist/impressionable.rb"
|
||||
|
|
|
@ -12,6 +12,5 @@ class Impression
|
|||
key :session_hash, String
|
||||
key :message, String
|
||||
key :referrer, String
|
||||
|
||||
timestamps!
|
||||
end
|
||||
|
|
|
@ -11,6 +11,7 @@ platforms :jruby do
|
|||
end
|
||||
|
||||
platforms :ruby, :mswin, :mingw do
|
||||
gem 'pg'
|
||||
gem 'sqlite3'
|
||||
end
|
||||
|
||||
|
|
|
@ -9,5 +9,4 @@ class WidgetsController < ApplicationController
|
|||
|
||||
def new
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue