Skip to content

Conversation

nozik
Copy link
Contributor

@nozik nozik commented Nov 15, 2016

If params[:resource] is present, @doc[:docs][:resources] is an array and not a hash (because of the logic in application.rb#to_json) - which causes a crash. Wasn't reproducible in ruby 2.3.0, but happens in ruby 2.3.1 (see ruby 2.3.1 release notes, http://svn.ruby-lang.org/repos/ruby/tags/v2_3_1/ChangeLog: 'can assign an attribute which is nil')

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.

1 participant