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 • SolvedHey 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 • Solvedhello 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 • SolvedI 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 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 • SolvedI solved this. I had a default port in my environments.rb file and then localhost was also being declared in my developments.rb which was causing a conflict as it was using port 465 in dev.
Gerard Donnelly replied • Solvedselect_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 • SolvedI deleted all the old pallet data, created some new data and that displayed inline without any problem.
William Jones replied • SolvedI continued with my google searches and found a suggestion that worked. I just ran 'gem update' and then 'rails new pallet_tracker' and everything worked.
William Jones replied • SolvedHi everyone, I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted • SolvedHi everyone, I am new to rails and would like to ask how to create pdf thumbnails on each pages and/or convert each pages to an image and generate a thumbnail. Thank you.
Harris Mariano posted • SolvedIs it a good practice if we can call a REST api on `before_action` hook of `application_controller.rb` and store the response in helper method? My Scenario is that I wanna call an API from another...
Ali Ahmed replied • SolvedI fixed it by changing the params from clinics_attributes: [:id, :clinic_logo, :clinic_name, :clinic_address, :clinic_zip_code, :clinic_municipality, :clinic_about, :clinic_mail, :clinic_...
Kasper Valentin replied • SolvedI changed the sort in the view as follows and everything works. <%= form.fields_for :prospect_calls, form.object.prospect_calls.sort_by(&:call_date) do |p| %>
William Jones replied • SolvedI am creating a Stripe product that gives the buyer an option to put a deposit down then they are given x amount of months to pay. Or they can pay in full. I'm sure that I would use scheduled subsc...
Jim Miller replied • SolvedI’m trying to split my rails devise edit form into 3 pages. But when I hit the submit button nothing happens and nothing gets saved. Any help would be much appreciated :-) I have created 3 edit pa...
Kasper Valentin replied • SolvedTwilio is a lot of fun. 🤓
Chris Oliver replied • SolvedThanks. I made no changes to my codebase, but updated my mac which forced a restart of everything and now the tests pass without issue. I can only think that it was related to this Sidekiq issue: ...
Paul C replied • Solved