public
Description: The open source social networking platform in Ruby on Rails from the author of RailsSpace
Homepage: http://insoshi.com
Clone URL: git://github.com/insoshi/insoshi.git
Installation working nicely
Michael Hartl (author)
Wed Apr 23 21:03:22 -0700 2008
commit  63a2c683833bff2d3d677da3298962604b410dbb
tree    abd6efd21e63f7d03fb900560f3182bc234370a6
parent  483989bc18c35b636020b913ab0fd6f2fc7c5371
0
...
76
77
78
 
79
80
81
...
76
77
78
79
80
81
82
0
@@ -76,6 +76,7 @@ $ rake install
0
 
0
 Then run the tests (which are actually RSpec examples in the spec/ directory):
0
 
0
+$ rake db:test:prepare
0
 $ rake spec
0
 
0
 (If the tests fail in the Photos controller test, double-check that FreeImage and ImageScience are installed.)
...
249
250
251
252
 
253
254
255
...
249
250
251
 
252
253
254
255
0
@@ -249,7 +249,7 @@ class Person < ActiveRecord::Base
0
 
0
   def unencrypted_password
0
     # The gsub trickery is to unescape the key from the DB.
0
- decrypt(crypted_password).gsub(/\\n/, "\n")
0
+ decrypt(crypted_password)#.gsub(/\\n/, "\n")
0
   end
0
 
0
   def remember_token?
...
5
6
7
8
9
10
...
5
6
7
 
8
9
0
@@ -5,6 +5,5 @@ require 'active_record/fixtures'
0
 desc "Install Insoshi"
0
 task :install => :environment do |t|
0
   Rake::Task["db:migrate"].invoke
0
- Rake::Task["db:test:prepare"].invoke
0
   Preference.create!
0
 end
...
81
82
83
84
 
85
86
87
...
81
82
83
 
84
85
86
87
0
@@ -81,7 +81,7 @@ def make_messages(text)
0
 end
0
 
0
 def make_forum_posts
0
- forum = Forum.find(1)
0
+ forum = Forum.find(:first)
0
   people = [default_person] + default_person.contacts
0
   (1..11).each do |n|
0
     name = some_text(rand(Topic::MAX_NAME))

Comments

    No one has commented yet.