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

Coerce class to string for comparison #193

Merged
merged 1 commit into from Jun 14, 2014
Merged

Conversation

ekampp
Copy link
Contributor

@ekampp ekampp commented Jun 11, 2014

Fixes #173, by ensuring that the model is coerced to a string before it's run through ActiveSupport::Inflector.underscore, which then correctly compares to the filename (which is a string already).

Fixes ctran#173, by ensuring that the model is coerced to a string before it's run through `ActiveSupport::Inflector.underscore`, which then correctly compares to the filename (which is a string already).
@seuros
Copy link

seuros commented Jun 11, 2014

👍

@ekampp
Copy link
Contributor Author

ekampp commented Jun 11, 2014

I'm unsure why the standalone scenario fails. I can't seem to find where this is defined. Probably this is an issue with my Travis skills, since I don't use it on a regular basis.

@ctran
Copy link
Owner

ctran commented Jun 12, 2014

It started to fail before your change. I'll take a look.

@ekampp
Copy link
Contributor Author

ekampp commented Jun 12, 2014

Thanks 👍

@ctran ctran added the bug label Jun 14, 2014
@ctran ctran added this to the v2.6.4 milestone Jun 14, 2014
@ctran ctran self-assigned this Jun 14, 2014
ctran added a commit that referenced this pull request Jun 14, 2014
Coerce class to string for comparison
@ctran ctran merged commit 70e82ad into ctran:develop Jun 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Nothing to annotate" in rails 4.2
3 participants