her
her copied to clipboard
no implicit conversion of nil into Hash
TypeError:
no implicit conversion of nil into Hash
# /usr/local/rvm/gems/ruby-2.2.3@bodhi/gems/her-0.8.1/lib/her/model/parse.rb:36:in merge!' # /usr/local/rvm/gems/ruby-2.2.3@bodhi/gems/her-0.8.1/lib/her/model/parse.rb:36:into_params'
# /usr/local/rvm/gems/ruby-2.2.3@bodhi/gems/her-0.8.1/lib/her/model/parse.rb:13:in to_params' # /usr/local/rvm/gems/ruby-2.2.3@bodhi/gems/her-0.8.1/lib/her/model/orm.rb:43:inblock (2 levels) in save'
Avoid using next inside inject blocks, this can yield a nil instead of a hash, instead treat it as a normal if statement.
https://github.com/remiprev/her/blob/master/lib/her/model/parse.rb#L61