I am trying to deploy my Ruby on Rails application into textdrive.
I get MySql errors like these.
Mysql::Error: Table ‘session’ doesn’t exist: SHOW FIELDS FROM session
The problem is the table is called “sessions” and not “session”.
I see exactly the same problem with all the tables, somehow the table
pluralization is lost.
I tried to set the tables to be plural in my environment.rb file like
ActiveRecord::Base.pluralize_table_names = true
and restarted both rails and lighttpd, but it doesn’t help.
Any guidance of how to fix this?