Skip to content

refactor method name to be more consistent#5055

Merged
feliperenan merged 1 commit intoheartcombo:masterfrom
saiqulhaq:master
Apr 5, 2019
Merged

refactor method name to be more consistent#5055
feliperenan merged 1 commit intoheartcombo:masterfrom
saiqulhaq:master

Conversation

@saiqulhaq
Copy link
Copy Markdown
Contributor

fix 1aab449

Comment thread lib/devise/failure_app.rb Outdated

def rails_5_and_down?
return false if rails_5_up?
def rails_4_to_50?
Copy link
Copy Markdown
Collaborator

@feliperenan feliperenan Apr 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wdyt of among_rails_4_and_5?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this method
because current Devise doesn't support rails 3
so I think no need to check is it rails 4 or 3

@feliperenan feliperenan merged commit e91b8ee into heartcombo:master Apr 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants