Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError on neo_save(): "Accessed result too soon" #26

Open
francoisbruneau opened this issue Aug 12, 2013 · 5 comments
Open

RuntimeError on neo_save(): "Accessed result too soon" #26

francoisbruneau opened this issue Aug 12, 2013 · 5 comments
Labels

Comments

@francoisbruneau
Copy link

When calling neo_save() on a model in a Resque asynchronous job, I frequently get this error:

RuntimeError
Accessed result too soon
/var/www/srv/webdoc/shared/bundle/ruby/1.9.1/gems/neoid-0.1.2/lib/neoid/batch.rb:149:in `result'
/var/www/srv/webdoc/shared/bundle/ruby/1.9.1/gems/neoid-0.1.2/lib/neoid/batch.rb:154:in `method_missing'
/var/www/srv/webdoc/shared/bundle/ruby/1.9.1/gems/neoid-0.1.2/lib/neoid/node.rb:127:in `_neo_save'
/var/www/srv/webdoc/shared/bundle/ruby/1.9.1/gems/neoid-0.1.2/lib/neoid/model_additions.rb:56:in `neo_save'

I can not reproduce this issue when synchronously saving the model using Rails console.

Any idea where it may come from?

@killinit
Copy link

I'am having same problem. Please help

@BenMorganIO
Copy link
Contributor

Please go the http://github.com/BenMorganIO/neoid and submit the issue there. I'm trying to get this gem back up to date...

@killinit
Copy link

Sorry but I do not see issues tab on Your git.

@BenMorganIO
Copy link
Contributor

Fixed!

On Wed, Jun 18, 2014 at 12:01 AM, Maciej Adamczewski <
[email protected]> wrote:

Sorry but I do not see issues tab on Your git.


Reply to this email directly or view it on GitHub
https://github.com/elado/neoid/issues/26#issuecomment-46402242.

@BenMorganIO
Copy link
Contributor

For future reference: Issue explained with more detail here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants