public
Description: a ruby on rails plugin to create and display a social feed
Homepage: http://upstream-berlin.com/blog/open-source/#social_feed
Clone URL: git://github.com/langalex/social_feed.git
social_feed / INSTALL
100644 22 lines (12 sloc) 0.611 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Plugin setup
 
* to create the necessary migration run:
 
script/generate social_feed_migration
rake db:migrate
 
* add the following line to the top of your config/routes.rb:
 
map.from_plugin 'social_feed'
 
* add the following line to the Rails::Initializer block in your environment.rb
 
config.load_paths << RAILS_ROOT + '/app/models/events'
 
* add the following line to your User class
 
include SocialFeed::UserExtension
 
* make sure you have the prototype javascript library loaded in your views, e.g. with the following line in your views/layouts/application.html.erb
 
<%= javascript_include_tag :defaults %>