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

added compatibility with models with module/namespace #32

Closed
wants to merge 1 commit into from
Closed

added compatibility with models with module/namespace #32

wants to merge 1 commit into from

Conversation

marciotoze
Copy link

follower.class.table_name.classify not work with models that have namespace, the method generates an incorrect value.

e.g.: Vehicle::Car will return VehicleCar instead Vehicle::Car causing error in the scopes

@chrisbenseler
Copy link

+1 solved a problem in my app.

@marciotoze
Copy link
Author

@chrisbenseler great!, but this gem is outdated/deprecated. i created this PR Feb 16, 2014 and the last commit is Jan, 2014.

@marciotoze marciotoze closed this Oct 20, 2015
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

Successfully merging this pull request may close these issues.

2 participants