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

What to use for multistep(wizards) in 2016?

3
General
Hey Chris, As of July 2016 what gem/solution would you use to create multistep forms? I have found a couple of solutions but couldn't decide what to choose. They kinda seemed a bit obsolete. It's ...
Lannie Chaput replied
Solved

Deploying our Rails Blog to Production Discussion

17
General
Hello Chris, thank you very much for you do to help us... I'm trying to deploy the blog but when building it on render I'm getting an error... Your RubyGems version (3.0.3.1) has a bug that preven...

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

Ruby Module Function Method Discussion

6
General
We especially love how splitting can be used not just as an attack but as a gesture of cooperation. It’s really wholesome when someone gives you mass just to help you out — those are the little mom...
Luis Reid 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
Muhammad Faisal Iqbal posted

Meta Tags from Scratch with Current Attributes, ActiveModel & render_in Discussion

7
General
Hey Chris! Sounds like you’re doing awesome work! Helping Rails developers build apps is a fantastic contribution. Keep it up!
Bradford Gesen replied

Installing ruby_opencv gem results in cannot find opencv_contrib error

11
Gems / Libraries
I am trying to install the ruby_opencv gem but it can't find opencv_contrib. I used the command 'gem install ruby-opencv -- --with-opencv-dir=/mnt/c/Users/wjones/sites/musclesound-rails/opencv/my_b...
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? %>

how do i create two users at the the same time with two different session? P.S I am trying to create a game where two players are created at once being of same class(Player)

1
Rails
I am trying to create a game where two players are created at once being of same class(Player).
Leroy Diaz replied

Problem with Stimulus and counter_culture gem (counter_cache)

5
Rails
Hy all, i have a problem with the counter_culture gem with my stimulus controller. I have installed the gem and configured all. I have 3 model : Thats working fine for this relation: Category hav...
Larry Knight replied

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