Skip to content

Instantly share code, notes, and snippets.

@metasoarous
Created September 12, 2009 09:41
Show Gist options
  • Save metasoarous/185779 to your computer and use it in GitHub Desktop.
Save metasoarous/185779 to your computer and use it in GitHub Desktop.
params = {:thickness => "2 inches",
:comments_attributes => [{:text => "the silly string"},
{:text => "the silly putty"}]}
Layer.new(params)
#=> ActiveRecord::UnknownAttributeError: unknown attribute: comments_attibutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment