You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: