Permalink
Browse files

Updated demo app to be compatible with the datastore refactor

  • Loading branch information...
1 parent ca47151 commit c16d85cc3b101974c4e178829f1b8d422ae120ee @cmer committed Jun 5, 2012
View
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
gem 'rails', '~> 3.2.1'
-gem 'socialization'
+gem 'socialization', :path => '../../'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
@@ -1,3 +1,2 @@
-class Follow < ActiveRecord::Base
- acts_as_follow_store
+class Follow < Socialization::ActiveRecordStores::FollowStore
end
@@ -1,3 +1,2 @@
-class Like < ActiveRecord::Base
- acts_as_like_store
+class Like < Socialization::ActiveRecordStores::LikeStore
end
@@ -1,3 +1,2 @@
-class Mention < ActiveRecord::Base
- acts_as_mention_store
+class Mention < Socialization::ActiveRecordStores::MentionStore
end
@@ -1,4 +1,3 @@
-# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.

0 comments on commit c16d85c

Please sign in to comment.