Weird Meta#find bug with new views
-
Sean Ouimet
I find this problem crops up more 'reliably' after having closed/open the console again to access a previously initiated database. I tend not to see it (except through heavy read/write attempts) on the first session.
The above error interchanges with:
NoMethodError: undefined method `each' for 1:Fixnum from /Users/sean/rails/strokedb/lib/strokedb/document.rb:675:in `initialize_raw_slots' from /Users/sean/rails/strokedb/lib/strokedb/document.rb:637:in `do_initialize' from /Users/sean/rails/strokedb/lib/strokedb/document.rb:195:in `initialize' from /Users/sean/rails/strokedb/lib/strokedb/document.rb:344:in `new' from /Users/sean/rails/strokedb/lib/strokedb/document.rb:344:in `from_raw' from /Users/sean/rails/strokedb/lib/strokedb/stores/file_storage.rb:26:in `find' from /Users/sean/rails/strokedb/lib/strokedb/stores/memory_storage.rb:16:in `find' from /Users/sean/rails/strokedb/lib/strokedb/store.rb:21:in `find' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:78:in `document' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:279:in `make_document' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:251:in `document' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:249:in `map' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:249:in `document' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:208:in `find' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:208:in `map' from /Users/sean/rails/strokedb/lib/strokedb/document/meta.rb:208:in `find' from (irb):5>>Where the "1" (fixed number) tends to be anything from 1..30
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.