Got a question or want to chat about a topic?
Hi, I am interested in getting a subscription but I can't pay with a iDEAL Debit Card or through Paypal. In the Netherlands a credit card costs you an additional fee since you don't really need it unless you travel to countries which don't support the iDEAL Debit Card. (outside...
Posted by ristovskiv about 2 months ago
I would like to integrate the Worldline payment gateway into my Rails application. Can someone with experience using the Worldline payment system please share some of the best examples?Thanks in Advance..!
Comment by David Kimura about 2 months ago
Hello All. 1st Post and thanks to David for this great resource. SO... I created a rails website with the help of youtube, chatgpt and google So sorry if i get terms wrong. Website is Happy-Me.com It's a series of YouTube channel rankings and some maps etc. Pretty basic. I've...
Comment by Paul Nicholson 3 months ago
The "Admin style" scaffolding of Rails 6 and previous was very helpful for a number of use cases. Do you have any suggestions how to reproduce the classic scaffolding complete with HTML tables and a column for every field but instead compatible with Turbo and Hotwire and probably using Flex...
Comment by David Kimura 3 months ago
I want a partial that can access "current_user" from turbo_stream Turbo_stream is triggered through a commit in the model, and broadcast a partial Lets say this: class Message < ApplicationRecord belongs_to :room belongs_to :user has_one_attached :image broadcasts_to :room end I've read information that people are trying to 1) add current_user...
Comment by fmartinez 3 months ago
Hey I watched your video on api-structure-and-error handling: https://www.driftingruby.com/episodes/api-structure-and-error-handling. I was curious tho of how this implementation would work with jb/jbuilder and the application controller top level error handling?
Posted by Doobie 12 months ago
I want to upload images to S3 under the folder /variants-image, but I don't know how to define this key or path. I'm using Active Storage in Rails 7. If anyone knows how to do it, I appreciate your comments.
Comment by David Kimura 7 months ago
Hi, I'm using newest Rails 7 and in my app I have implemented cart with turbo similar to the from Episode, I would like to add some new feature to the checkout show little input field where I can input some discount in percentage for example 20, then my total...
Posted by nikos83 10 months ago
I'm working on a project that has Cue model that could be accessed and searched by multiple roles like guest and admin. The authorization happens using CanCanCan gem based on some logic written in the Ability class. While the search happens using Pagy/MeiliSearch combination to do the full text search...
Comment by Ali Osm 10 months ago
Currently I have this ``` = turbo_frame_tag "xxx" do = f.fields_for :documents, @onboarding.documents.build do |task| = render 'shared/document_upload', form: task ``` update.turbo_stream.haml ``` = turbo_stream.update "xxx" do = render 'shared/document_upload', form: task How can I pass the fields for form object to the update.turbo_stream, or...
Comment by David Kimura 10 months ago
It seems that you just got bit by this Turbo PR https://github.com/hotwired/turbo/pull/863. The quick fix is to do this https://github.com/hotwired/turbo/pull/863#issuecomment-1470184953 The best, long term solution is for this PR to be merged https://github.com/hotwired/turbo-rails/pull/367
Comment by David Kimura 11 months ago
Hi David, can you take a look at the video download functionality? The video is prepared according to notifications, but when you click to download, I get zero bytes sized videos. This means nothing was downloaded. can you help look into this?
Comment by David Kimura 11 months ago
Concerning the lesson for the shopping cart with turbo. I've also added user authentication and authorization. I need the admin to be able to see all orders of all customers and their state, whether in process or shipped, and the normal user to be able to access all order history....
Comment by IBUNHABIBU about 1 year ago