Log In
Support
New Account
This forum
This project's trackers
This project's forums
This project's tasks
This project's releases
This project's documents
This project's news
Software/Group
People
Skill
Advanced search
Home
My Page
Project Tree
Code Snippets
Project Openings
Lafcadio
Summary
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
SCM
Files
Wiki
Forums
|
Admin
Discussion Forums:
help
Start New Thread
Nested
Flat
Threaded
Ultimate
Show 25
Show 50
Show 75
Show 100
By:
Francis Hwang
RE: Different table name for a DomainObject [ reply ]
2003-09-04 17:51
Dmitry,
Just override DomainObject.tableName.
class News < DomainObject
def News.tableName
"news_data"
end
end
By:
Dima Sabanin
Different table name for a DomainObject [ reply ]
2003-09-03 15:20
How could i set $(subj)?
I want to have domain object News, and i want it to be stored in news_data, not in newses. What is the clear way to do that?