Docker rails assets:precompile
here is the Dockerfile i setup the project with rails g new --main --database=postgresql --css=bootstrap ``` # Make sure it matches the Ruby version in .ruby-version and Gemfile ARG RUBY_VERSION=3....
Islam Bahnas repliedSerializing Attributes with Custom Coders Discussion
Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?
Just curious - would you consider simple_discussion to be RESTFUL in the classic Rails sense? I wasn't able to use the gem as I use Tailwind for my app, and it would be too much work to change all ...
DanInBC replied • SolvedWhere do I put a custom validator for a model?
My little experience is that `app/validators` makes it easier to import the custom validator in the model than using `app/models/validators` as with the first one there is no need to user `include ...
Stéphane Paquet replied • SolvedMulti Tenant based database can connect into another database like multi-db connection?
I've been working on one project that has already implemented a multi-tenant database setup using the apartment gem. and now I need to connect this multi-tenant database to my other project. I've c...
vinay sharma postedFacing a problem in setting up the web server in Rails.
The bin/rails server command launches a web server named Puma which comes bundled with Rails. You'll use this any time you want to access your application through a web browser. With no further wo...
Priya Sharma repliedSolving FizzBuzz in Ruby Discussion
I realise this is an old video but for anyone having an issue with line #19 "if str.blank?" I used str.nil? and it works
Dylan repliedPaypal & Stripe
PayPal and Stripe are two of the most popular and well-known payment processing platforms. Both companies have similarities, but each platform is better suited for different business needs. While b...
lordelaula repliedTesting File Uploads in Rails with Shrine Discussion
Hey Chris! Great work as always! It's not that is hard to be honest, but I think it would be great and mostly helpful to have in the description of the video any previous related episode to this on...
Charalampos Aristomenopoulos repliedHow to write Controller & Integration Tests in Rails Discussion
Why is sidekiq not working properly in development?
How do I sync ActiveStorage files between development (local) and production (Amazon S3)?
ActiveAdmin & Autocomplete
Handling multiple Account types
Building has_one from has_many Associations Discussion
And since the enum has created scopes for `billing` and `shipping`, you can DRY those associations up a little with: ``` has_one :billing_address, -> { merge(Address.billing) }, class_name: "A...
David Aldridge repliedSomething has changed with Passenger that has left the guides unusuables
It is possible that the Passenger version you are using is not compatible with the version of Ruby you are using. Try updating both Passenger and Ruby to the latest versions and then redeploying yo...
Ashley repliedAdding Exceptions To Recurring Events Discussion
Does anyone have a solution for editing an event and creating an exception? Like instead of just deleting an individual day I want to change the times for just that one day? I know I should just cr...
spacerobotTR repliedHow do I search Action Text with Ransack?
I second @miguel's recommendation for the post from Thoughtbot. Insanely great implementation!
Jay Killeen replied • SolvedRails view_components
+1
William Cunningham replied