I can't seem to find any documentation on how to set the table name in a model. In rails 3 it was
I have seen where some are using
self.table_name = 'name'
Neither work for me in rails for. Can anyone show me the right code to use or where some good documentation is on this?
As a bonus to the above question, I would I go about digging into rails active record code to find this out?