I just wanted to confirm a couple of details... * When you say "fresh checkout", do you mean a new repository clone or that you ran "git pull" on an existing repository?
* Did you perform the step "rake db:sample_data:reload"? Based on the error message, I'm guessing that you had a Insoshi up and running, created a new user via the sign up, and then pulled in the updated Insoshi code and reloaded the sample data. The sample data reload wipes out the existing database and repopulates it. If you've created a new user, then any information will be wiped out during the reload. The default behavior on sign in/sign up is to remember your login information via a cookie. If the user that the cookie refers to is no longer in the database because of the reload, then you'll see the error that you did get. What you need to do is delete the cookies from your browse. They'll be the ones from the "localhost" site and have the cookie name "_instant_social_session" and "auth_token". Once you do that, you'll get the sign in page when you reload Insoshi in your browser. Long On Sun, Apr 13, 2008 at 7:14 AM, Meenal <[EMAIL PROTECTED]> wrote: > > I did a fresh checkout of insoshi and followed instructions. On > executing ./script/server and pointing web browser to > http://localhost:3000/ > , I get this error. > Have I missed something ? > Thanks > Meenal > > ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > ActiveRecord::RecordNotFound in HomeController#index > > Couldn't find Person with ID=24 > RAILS_ROOT: /Users/meenalpant/work/insoshi > > Application Trace | Framework Trace | Full Trace > vendor/rails/activerecord/lib/active_record/base.rb:1267:in `find_one' > vendor/rails/activerecord/lib/active_record/base.rb:1250:in > `find_from_ids' > vendor/rails/activerecord/lib/active_record/base.rb:504:in `find' > lib/authenticated_system.rb:98:in `login_from_session' > lib/authenticated_system.rb:12:in `current_person' > lib/authenticated_system.rb:6:in `logged_in?' > app/controllers/application.rb:36:in `require_activation' > Request > > Parameters: > > None > Show session dump > > Response > > Headers: > > {"cookie"=>[], > "Cache-Control"=>"no-cache"} > > > > -- Long Nguyen [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Insoshi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/insoshi?hl=en -~----------~----~----~----~------~----~------~--~---
