how to process images with carrierwave and delay_job
I am trying to process the versions of the images with carrierware I want to send that process to a queue
Juan Alexander Rodríguez Álvarez replied • SolvedI am trying to process the versions of the images with carrierware I want to send that process to a queue
Juan Alexander Rodríguez Álvarez replied • SolvedI deployed my app with hatchbox.io but cannt update the image and got the error as below: Access to XMLHttpRequest at 'https://wellicanbucket.s3.ap-southeast-2.amazonaws.com/wacxzy7llqdcamldoaiuei...
THANH .V TRAN postedExactly. And if you need to rename it or make it more complex, delegate can still let you call `reservation.name` even though it might delegate through a few objects if you had to add like approval...
Chris Oliver repliedHey Christopher, path helpers like `profile_path` are not methods on the User model. You can use `<%= link_to "Profile", profile_path %>` in your view to link to a route that matches that na...
Chris Oliver replied • SolvedYup. It's actually going to be faster than querying your database because Redis is all in-memory.
Chris Oliver replied • Solvedsuccess Saved lockfile. 01 01 01 Done in 10.26s. ✔ 01 ubuntu@13.229.169.23 10.938s ** Execute deploy:assets:precompile 01:06 deploy:assets:precompile 01 ~/.rvm/bin/r...
Rahul Coder postedhello everyone. i am new in rails and ruby , i just started like 1 week ago . i trying to do a chat between 2 people on rails, with jquery for the ajax part. everything work, but i got this err...
pikooli replied • SolvedHi , I am getting below error in my terminal and I am new to ruby on rails please help. Completed 401 Unauthorized in 317ms (ActiveRecord: 27.6ms | Allocations: 41921) Processing by Users::Se...
varun chawla repliedI found the solution to the problem I was running into for the Flash alert/notification messages not displaying with the correct styling for the 'Log In' and 'Log Out' views. The issue was resolved...
Alfred Montalvo Jr replied • SolvedI already had a User model with different roles handled by cancan gem. Now i have implemented active admin gem in the same User model with another role. Now i could not figure out how to restrict a...
Shaheryar Imtiaz postedI'm creating a User, Role and UserRole. A user can create a list of roles, and from the new user form, there is a nested form which populate a list of roles created, then the user able to select a ...
Lee Terng Gio postedIs there any best practice / tutorial for organizing user uploaded files? In my app I have an 'uploadable' polymorphic structure where the user can upload files to pretty much any model etc. Curr...
Dan Tappin postedHello. I'm trying to create a contact page that emails me directly from the contact me page of my portfolio site. I created the contact form model by following this tutorial on YouTube. But I'm get...
Kyle Williamson postedI further inspected redis via ``redis-cli monitor`` and found out that ``ActionCable.server.broadcast`` publishes messages to local redis even though the remote redis url is mentioned in ``cable.ym...
Shreyas S replied • SolvedYour model is wrong it's better to have a model named partner for example which has a partner type. Now you can seed it with partner types like Vendor, Customer, Supplier Both, whatever you want ``...
Peter vande Put repliedMain question: I've been looking into documenting my own code, and came across Yard and Rdoc. Right now, just trying it out, I have Yard installed. But are there other alternatives out there that I...
Yi Mei Wang postedMy system is using a post model with friendly_id so the calls are /name_of_the_post and this works great. The initial home page is also a post so in routes.rb I have ``` root 'home#index' get ':...
Peter vande Put postedBased on the pre-6.0.2.2 version of Rails, I found Carrierwave to be more suitable for apps where I need to generate multiple-size versions of an image on upload that I may want to use outside the ...
HP repliedselect_tag('entry[detail_ids]' fixes it
PDG+creative replied • SolvedFor background jobs on Ubuntu, you would normally use SystemD. With sidekiq, you would: 1. Add the [Sidekiq systemd script](https://github.com/mperham/sidekiq/blob/master/examples/systemd/sidekiq...
Chris Oliver replied • Solved