incorrect pluralization

0 views
Skip to first unread message

Mike C

unread,
Dec 2, 2009, 10:34:48 PM12/2/09
to ObjectiveResource
So I have a Category model and in my Rails application and OR is
trying to get categorys.xml when run findAllRemote. How can I specify
or change which xml file OR tries to get?

Adam

unread,
Dec 20, 2009, 6:48:40 PM12/20/09
to ObjectiveResource
In your implementation section you can specify the remote collection
name (eg person is not person, but people).

@implementation Category

+ (NSString *)getRemoteCollectionName {
return @"categories";
}

@end

Keep in mind, I'm new to this and am using the code from the trunk, so
yymv. Good Luck!

Reply all
Reply to author
Forward
0 new messages