Displaying 1 result from an estimated 1 matches for "softlic_control".
2006 Jun 06
4
Rails keeps adding the letter s to the MySQL tablename.
...not set this db to the same 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 ...