Skip to content

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

3 participants