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

Fix ActiveModel I18n integration #77

Merged
merged 1 commit into from
Dec 18, 2014
Merged

Conversation

gix
Copy link

@gix gix commented Dec 18, 2014

:i18n_scope is supposed to be a class method. Also, to humanize model names
:lookup_ancestors is required (provided by ActiveModel::Translation).

@JonathanTron
Copy link
Member

Hi @gix, thanks for the good catch and amazing pull-request! Can you take a look at Travis CI for the spec failures and fix them (it's only rubocop style)?

I will merge as soon as the specs are green.

:i18n_scope is supposed to be a class method. Also, to humanize model names
:lookup_ancestors is required (provided by ActiveModel::Translation).
@gix
Copy link
Author

gix commented Dec 18, 2014

Sorry for missing this. I was not aware of rubocop. Pushed a fixed commit.

@JonathanTron
Copy link
Member

Don't worry, that's why we run specs on TravisCI. Thanks for your contribution.

JonathanTron added a commit that referenced this pull request Dec 18, 2014
Fix ActiveModel I18n integration
@JonathanTron JonathanTron merged commit 3d3f006 into TalentBox:master Dec 18, 2014
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