Skip to content

I've applied a patch that fixes a conflict with devise:install #21

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

Closed
wants to merge 2 commits into from
Closed

I've applied a patch that fixes a conflict with devise:install #21

wants to merge 2 commits into from

Conversation

walterdavis
Copy link

This patch: fcbf454 fixes a problem I had with Devise install. Without it, I would get a NoMethodError which traces back to prototype-rails.on_load_action_view.rb:17 after trying to run rails g devise:install

@jeremy
Copy link
Member

jeremy commented Feb 12, 2013

Could you check whether TestCase is loaded, rather than checking Rails.env?

@walterdavis
Copy link
Author

Sure, happy to. How would you do that?

if ( ActionView::TestCase )

or is there a general "is this loaded" method I should use?

Walter

On Feb 12, 2013, at 1:57 PM, Jeremy Kemper wrote:

Could you check whether TestCase is loaded, rather than checking Rails.env?


Reply to this email directly or view it on GitHub.

@walterdavis
Copy link
Author

I couldn't figure out how to get a new pull request without closing this one, so that's what I did. Please let me know if that technique I used is acceptable.

Walter

On Feb 12, 2013, at 1:57 PM, Jeremy Kemper wrote:

Could you check whether TestCase is loaded, rather than checking Rails.env?


Reply to this email directly or view it on GitHub.

@carlosantoniodasilva
Copy link
Member

@walterdavis there's no problem, but you can actually use the same pull request by pushing new commits or push forcing to the same branch in your fork. Github takes care of updating the pull request properly. We usually ask people to squash their commits into 1 and push force to the same branch, because it's harder to follow discussions in different pull requests. Thanks for your contribution.

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.

3 participants