Skip to content

Prevent calling fetch on empty config option#207

Open
bval wants to merge 1 commit intokreativgebiet:masterfrom
bval:master
Open

Prevent calling fetch on empty config option#207
bval wants to merge 1 commit intokreativgebiet:masterfrom
bval:master

Conversation

@bval
Copy link

@bval bval commented Mar 3, 2016

This prevents a potential undefined method 'fetch' for nil:NilClass if the caller doesn't provide a config option. It shouldn't be required to pass config: {} everywhere you use the rich input if you are fine with the defaults.

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.

1 participant