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.