I dont want the defaults, i need to set the table name like, user_info and client_info. i have used set_table_name method like,
class Userinfo < ActiveRecord::Base set_table_name "user_info" end
I have even set the environment.rb file like,
ActiveRecord::Base.pluralize_table_names = false
when i gave rake db:migrate , all files are migrated well but the table names are not changed in my DB. what i need to do to change the table names of my own. Please suggest
Those settings just control what table Rails will try to use for a given class - they'll never change the schema.
If you want to change the schema, write a migration.
Fred