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

Change model_class_name behaviour #246

Merged
merged 1 commit into from
Mar 30, 2012
Merged

Change model_class_name behaviour #246

merged 1 commit into from
Mar 30, 2012

Conversation

lucapette
Copy link
Contributor

  • Use classify instead of capitalize to make the behaviour of the generator
    more similar to Rails model generator.
  • Use underscore instead of downcase for consistency with the previous change.

I think it's a fair change. This morning I run:

rails g sorcery:install --model AdminOrganization

And the output really surprised me.

Thank you for working on this great engine! I'm actually using it on all my brand-new projects.

- Use classify instead of capitalize to make the behaviour of the generator
  more similar to Rails model generator.

- Use underscore instead of downcase for consistency with the previous change
NoamB added a commit that referenced this pull request Mar 30, 2012
@NoamB NoamB merged commit 928b661 into NoamB:master Mar 30, 2012
@NoamB
Copy link
Owner

NoamB commented Mar 30, 2012

Thanks

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