-
Notifications
You must be signed in to change notification settings - Fork 177
Open
Description
I noticed that the gem was failing for me with a particular application and I found that stripping whitespace from the adapter check fixed it for me:
def mysql?
@config['adapter'].strip =~ /^mysql/
end
def postgresql?
adapter = @config['adapter'].strip
%{postgresql pg}.include? adapter
endWondering if you thought that this was something worth considering as a PR.
Love the gem by the way, use it on pretty much every Rails application.
Metadata
Metadata
Assignees
Labels
No labels