Ecommerce multi-step checkout with guest accounts
11
Rails
Hello, I've been thinking about the best approach for implementing a checkout scenario in a custom ecommerce site I've been developing and wanted to see if anyone here had advice to share.
We're n...
sabrinacollinsss581 replied
How to Optimize ActiveRecord Queries with Large Data Sets in Rails 7?
6
General
I'm working with a large dataset in Rails 7 and some of my Active Record queries are getting slow. I've tried using .includes and .select, but performance still lags. What are the best practices fo...
Patrick Stevenson replied
Rails new with TailwindCSS Discussion
0
General
can you explain in detail that why you didn't use bin/dev? I couldn't get your point
Calendar with Recurring Events Error Message - undefined method `has_key?' for "null":String
1
Rails
Hi I'm trying to follow Chris's Recurring events tutorial and I'm coming across this error message...NoMethodError in EventsController#indexundefined method `has_key?' for "null":StringExtracted so...
Dedicated Servers i want rent 100
2
Servers
Dedicated Servers
CPU 16 cores, 3GHz or higher, example AMD 5950x
128GB RAM or more
1TB or more NVME SSD
500 Mbps+ channel, 100TB/month traffic
Davidmenk321 replied
How do I generate SEO Friendly URL's for filter combinations in Rails?
6
General
I have a site where the user can apply a combination of multiple filters.
To improve the SEO on the site I would like to have the URL in a human-readable format when filters are applied.
I would ...
Rails 7.1 Authentication From Scratch - Test Helpers
2
Testing
I've implemented the Rails authentication in my 7.1 app but was wondering how to go about stubbing the `current_user` or `session` in my RSpec Request specs.
I'm normally used to have a Devise or...
Russell Beckwith replied
How do I test the order of elements on a rails app page with Rspec / Capybara?
3
Testing
I have a 'Team' index page and I just want to TDD the ordering of the elements on page. My instructions are to validate they are showing most recently created first.
I know how to do the actual i...
Russell Beckwith replied
Test some simple javascript with Minitest and Capybara
1
Testing
I'm seeking assistance on testing JavaScript that executes on the response page after a POST request.
So I have something like this
```ruby
class YourControllerTest < ActionDispatch::Integrati...
Russell Beckwith replied
Rails World 2023: Powerful Rails Features You Might Not Know Talk Slides Discussion
3
General
I can't wait for the video of your conf !
Bradford Gesen replied
Creating New Blog Posts Discussion
1
General
Hi!
I don't understand why we must instantiate a BlogPost object in the `new` function, if we are also doing so in the `create` function.
It is also not clear to me how did we map the <%= form....
Bradford Gesen replied
Rich Text Blog Posts with ActionText Discussion
19
General
Hi Chris, thanks for the video. I was wondering how do I truncate the text on the index.html page? I only want to show 130 characters of the content (previously body).
<%= truncate(blog_post.c...
Pat Fitzner replied
Authenticating Blog Admin Pages Discussion
19
General
Hi,
Is it necessary to add @blog_post behind the edit_blog_post_path in the last part of the video or can that be left out as well? <%= link_to "Edit", edit_blog_post_path if user_signed_in? %>
Realtime Domain Updates with Turbo Refreshes & Morph Discussion
0
General
Really cool updates slope
Brian Woods posted
Hatchbox: teams
5
General
Hello,
what are your plans for developing Teams feature on Hatchbox?
Currently I can invite someone by giving them status "admin", "member" or no status at all. The problem is, any invited person h...
Francisco Holcomb replied
How do I fix Github Action test error caused by "DevToolsActivePort file doesn't exist"?
1
Testing
Hey - I have a Github Action test file as below. When I run the CI, the system tests which use Selenium WebDriver do not pass. The following error occurs:
```
Selenium::WebDriver::Error::UnknownE...
solidus
8
General
I am creating my e commerce using solidus. In the admin backend, I pload products but then they are not reflected in the frontend...anyone who has come accross this?
Charlotte May replied
Asset Pipeline
2
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...
Francisco Holcomb replied
Watched the video- One Time payments with Pay and Stripe- (embedded), Form never loads....
4
Rails
HAS anyone been able to get STRIPE EMBEDDED PAYMENTS working?
I followed Collin's course to the T, but when I get to the point where the stripe form is supposed to be inserted into my DIV on the Ap...
Help with concurrency
5
Ruby
Hi everyone, how’s it going? I’m a Go developer transitioning to Ruby due to a job change. Typically, I solve various problems in web apps using Go’s lightweight threads (goroutines). For example, ...
Flappy Dunk replied