CG
2009-Mar-09 05:26 UTC
Error running new app - CGI::Session::CookieStore::TamperedWithCookie in BookController#index
Yes I am a very newbie to Ruby on Rails. Just few hours back installed - Ruby 1.8.6 (on windows XP) - Installed MySQL - installed Rails 2.2.2 (using gem "gem install rails") - created a sample application following the OnLamp article advice ("rails demo") (article link - http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 ) - changed the default database to be used as MySQL using ( "rails demo -d mysql") - started WEBrick ("ruby script/server") - Created a new controller ( "ruby script/generate controller Book") When I try to use the root url http://localhost:3000/ I see the defualt page correctly .. but when I try to http://localhost:3000/Book and I get an error page: CGI::Session::CookieStore::TamperedWithCookie in BookController#index CGI::Session::CookieStore::TamperedWithCookie Response Headers: {"cookie"=>[], "Content-Type"=>"", "Cache-Control"=>"no-cache"} I have no clue what is going on.. please HELP. I am completely blocked. Thanks, CG --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Mukul Jain
2009-Mar-09 05:49 UTC
Re: Error running new app - CGI::Session::CookieStore::TamperedWithCookie in BookController#index
While playing around to setup my rails to use my MySQL ..now.. I get following : C:/LearnWeb20/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/c onnection_adapters/abstract_adapter.rb:38: [BUG] Segmentation fault ruby 1.8.6 (2008-08-11) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please contact the application''s support team for more information. WEBrick crashes... I just installed the mysql gem package thats it. CG On Sun, Mar 8, 2009 at 10:26 PM, CG <mukulj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Yes I am a very newbie to Ruby on Rails. Just few hours back > installed > > - Ruby 1.8.6 (on windows XP) > - Installed MySQL > - installed Rails 2.2.2 (using gem "gem install rails") > - created a sample application following the OnLamp article advice > ("rails demo") (article link - > http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 > ) > - changed the default database to be used as MySQL using ( "rails demo > -d mysql") > - started WEBrick ("ruby script/server") > - Created a new controller ( "ruby script/generate controller Book") > > > When I try to use the root url http://localhost:3000/ I see the > defualt page correctly .. but when I try to http://localhost:3000/Book > and I get an error page: > > CGI::Session::CookieStore::TamperedWithCookie in BookController#index > > CGI::Session::CookieStore::TamperedWithCookie > > Response > > Headers: > > {"cookie"=>[], > "Content-Type"=>"", > "Cache-Control"=>"no-cache"} > > I have no clue what is going on.. please HELP. I am completely > blocked. > > Thanks, > CG--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Juanma Cabello
2009-Mar-09 09:43 UTC
Re: Error running new app - CGI::Session::CookieStore::TamperedWithCookie in BookController#index
I got that exception yesterday. I only did "Empty cache" of Safari and works... 2009/3/9 CG <mukulj-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>> > Yes I am a very newbie to Ruby on Rails. Just few hours back > installed > > - Ruby 1.8.6 (on windows XP) > - Installed MySQL > - installed Rails 2.2.2 (using gem "gem install rails") > - created a sample application following the OnLamp article advice > ("rails demo") (article link - > http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 > ) > - changed the default database to be used as MySQL using ( "rails demo > -d mysql") > - started WEBrick ("ruby script/server") > - Created a new controller ( "ruby script/generate controller Book") > > > When I try to use the root url http://localhost:3000/ I see the > defualt page correctly .. but when I try to http://localhost:3000/Book > and I get an error page: > > CGI::Session::CookieStore::TamperedWithCookie in BookController#index > > CGI::Session::CookieStore::TamperedWithCookie > > Response > > Headers: > > {"cookie"=>[], > "Content-Type"=>"", > "Cache-Control"=>"no-cache"} > > I have no clue what is going on.. please HELP. I am completely > blocked. > > Thanks, > CG > > > >-- Juanma Cabello Applications Developer Skype: juanm.cabello Twitter: juanmac Weblog: http://juanmacabello.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---