Skip to content

Instantly share code, notes, and snippets.

@jcoyne
Created July 31, 2015 18:15
Show Gist options
  • Save jcoyne/7ef783489d2234ea2e65 to your computer and use it in GitHub Desktop.
Save jcoyne/7ef783489d2234ea2e65 to your computer and use it in GitHub Desktop.
ActionView::Template::Error:
undefined method `each' for nil:NilClass
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/associations/rdf.rb:8:in `replace'
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/associations/singular_association.rb:18:in `writer'
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/associations/builder/association.rb:69:in `block in define_writers'
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/attributes.rb:25:in `block in attributes='
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/attributes.rb:24:in `each'
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/attributes.rb:24:in `attributes='
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/attributes/serializers.rb:26:in `attributes='
# /Users/justin/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/active-fedora-9.2.1/lib/active_fedora/loadable_from_json.rb:120:in `init_with_json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment