I have a Model class called Countries and I want it to map to a DB table called 'cc'.
How is that done in Rails?
class Countries < ActiveRecord::Base self.table_name = "cc" end
class Countries < ActiveRecord::Base self.set_table_name "cc" ... end
1.4m articles
1.4m replys
5 comments
56.9k users