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

Not following custom inflection rule? #166

Open
yangtheman opened this issue Jun 17, 2013 · 0 comments
Open

Not following custom inflection rule? #166

yangtheman opened this issue Jun 17, 2013 · 0 comments

Comments

@yangtheman
Copy link

Sorry for another question...but, it seems like couchrest is not following custom inflection rule?

I have a models named Chassis and Interface, and defined the relationship as chassis collection_of :interfaces and interface belongs_to :chassis. Funny thing is when I create a interface instance, it has chassi_id instead of chassis_id field. So, I specified a custom, uncountable inflection in inflection.rb, but however, it is still creating chassi_id.

I think this is a bug.

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