30 Experience
0 Lessons Completed
0 Questions Solved


Posted in Using Vagrant for Rails Development Discussion

After I fire the command `vagrant provision`
I get this error

==> default: executable=/opt/chef/bin/chef-solo
==> default: Running handlers:
==> default: [2017-07-17T12:19:39+00:00] ERROR: Running exception handlers
==> default: Running handlers complete

==> default: [2017-07-17T12:19:39+00:00] ERROR: Exception handlers complete
==> default: Chef Client failed. 0 resources updated in 01 seconds
==> default: [2017-07-17T12:19:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> default: [2017-07-17T12:19:39+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
==> default: [2017-07-17T12:19:39+00:00] ERROR: 412 "Precondition Failed"
==> default: [2017-07-17T12:19:39+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef never successfully completed! Any errors should be visible in the

I m new to this vagrant, i googled it but was not able to get the right answer to this problem
pls help

Posted in Soft Delete with Paranoia Discussion

Hi guys iI need to use this gem but there is an issue with the dependent destroy.
eg: a has many b
paranoid is added to model a
I m able to restore record of a
but i lost all the associated record from model b
Is there a way to soft delete records of model b when I soft delete record of a.

Posted in File Uploads with Refile Discussion

Can any one please help. i need to crop the image before uploading the image file to refile
couldnt find any solution with refile to crop the image.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2022 GoRails, LLC. All rights reserved.