Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Ability to name Obj C classes differently than Rails models #4

Open
tamoyal opened this issue Dec 17, 2010 · 0 comments
Open

Comments

@tamoyal
Copy link

tamoyal commented Dec 17, 2010

One thing I've noticed is that it's very hard to use Objective Resource if you don't name your Obj C model the same as your Rails model (well Rails controller actually). The issues are mainly around the inability to customize generated routes and the parameter hash key.

After digging into the source code I see that Objective Resource is checking for the class name all over the place. What if you just built an Objective Resource specific class name function that could be overridden in our models? Seems really easy and I'll probably do it if I decide to stick with Objective Resource but right now I'm still in an evaluation period.

Regardless thanks for the magic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant