Ruby version | 1.8.7 (i386-mingw32) |
RubyGems version | 1.8.16 |
Rack version | 1.1.6 |
Rails version | 2.3.14 |
Active Record version | 2.3.14 |
Active Resource version | 2.3.14 |
Action Mailer version | 2.3.14 |
Active Support version | 2.3.14 |
Application root | C:/sns |
Environment | development |
Database adapter | mysql |
Database schema version | 20130210081226 |
rake db:sessions:create
C:\sns\config\initializers\session_store.rb
ActionController::Base.session_store = :active_record_store
去除前面#号键
重启ruby script/server,
报错 Mysql::Error: Data too long for column 'session_id' at row 1:
修改字段长度后,即可。
这是rails开发的bug吗?