Skip to content

Instantly share code, notes, and snippets.

@alx
Created December 9, 2008 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alx/33788 to your computer and use it in GitHub Desktop.
Save alx/33788 to your computer and use it in GitHub Desktop.
NameError in 'Page should contain an element'
uninitialized constant LazyArray::RETURN_SELF
/Library/Ruby/Gems/1.8/gems/dm-core-0.9.7/lib/dm-core/associations/one_to_many.rb:311:in `method_missing'
/Users/alx/legodata/app/legodata_cms/app/models/page.rb:22:in `parse_elements'
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:258:in `execute_before_save_nan_hook_stack'
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:293:in `save'
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:292:in `catch'
/Library/Ruby/Gems/1.8/gems/extlib-0.9.9/lib/extlib/hook.rb:292:in `save'
./spec/models/page_spec.rb:13:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment