From: coolgeng coolgeng Date: 2007-09-17T12:17:59+09:00 Subject: Re: Debug ------=_Part_6943_16168023.1189999078274 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks a lot. When I disabled this line, the program do work. But if I would like to reserve this function and not discard this line, what should I do? On 9/17/07, Bambang Purnomosidi D. P. wrote: > > On Mon, 17 Sep 2007, coolgeng coolgeng wrote: > > > I check the development.log, and it says : "Mysql::Error: #42S02Table > > 'depot_development.sessions' doesn't exist: SHOW FIELDS FROM sessions" > > Have a look at config/environment.rb: > > ... > ... > # Use the database for sessions instead of the file system > # (create the session table with 'rake db:sessions:create') > config.action_controller.session_store = :active_record_store > ... > ... > > If you activate config.action_controller.session_store above, you should > do 'rake db:sessions:create' first. If you don't want to use MySQL table > to store session, uncomment above. > > -- > http://bpdp.wordpress.com > Key fingerprint FBBA CDA6 1A33 D41C 2470 5B82 12D9 DB12 84C7 32CE > Key server ldap://pgp.surfnet.nl:11370 & hkp://subkeys.pgp.net > ID 0x84C732CE > > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > > -- Best Regards Cooper Geng ------=_Part_6943_16168023.1189999078274--