Displaying 1 result from an estimated 1 matches for "softliccontroller".
2006 Jun 06
4
Rails keeps adding the letter s to the MySQL tablename.
...as development or production.
test:
adapter: mysql
database: gcsaam
username: root
password:
host: localhost
production:
adapter: mysql
database: gcsaam
username: root
password:
host: localhost
softlic.rb
class Softlic < ActiveRecord::Base
end
softlic_controller.rb
class SoftlicController < ApplicationController
scaffold :softlic
end
So here is my problem. Ruby or maybe Rails, keeps addign the letter "s"
to the MySQL table name like it shows here...
ActiveRecord::StatementInvalid in SoftlicController#new
Mysql::Error: #42S02Table ''gcsaam.softlics'...