No subject
Tue Jul 8 16:01:54 EDT 2008
question for you. In the following list what does look more natural
and descriptive? I don't describe what this is as it should be self
descriptive. Vote for any you think is clearer and better.
1)
package TestApp::User;
...
use Jifty::DBI::Record schema {
...
column attrs =>
refers_to TestApp::AttributeCollection
by tisql => " .record = __record__.id AND .model = 'User'";
...
};
2)
package TestApp::User;
...
use Jifty::DBI::Record schema {
...
column attrs =>
refers_to TestApp::AttributeCollection
by tisql => "attrs.record = .id AND attrs.model = 'User'";
...
};
3)
package TestApp::User;
...
use Jifty::DBI::Record schema {
...
column attrs =>
refers_to TestApp::AttributeCollection
by tisql => ".attrs.record = .id AND .attrs.model = 'User'";
...
};
--
Best regards, Ruslan.
More information about the jifty-devel
mailing list