Factory Bot Testing with Active Storage and Devise | Ruby on Rails 7 Tutorial

  Рет қаралды 2,293

Deanin

Deanin

Күн бұрын

Testing with Factory Bot instead of Fixtures is a lot easier. Let's look at how to use Factory bots with Active Storage and Devise in Ruby on Rails 7.
Checkout my course(s) at: learn.deanin.com
This is a testing tutorial for Ruby on Rails 7, because people keep asking me how to test their Rails apps lol.
Source:
github.com/Dea...
Links:
github.com/tho...
unsplash.com/s...
semaphoreci.co...
Join this channel to help support these videos:
/ @deanin
Follow me on social media:
linktr.ee/deanin
If you liked this video, please consider subscribing: t.co/RZ4EwP0F2a
#Deanin #Software #Programming

Пікірлер: 6
@Deanin
@Deanin Жыл бұрын
Sorry if I sound tired, it was a long day and I didn't get around to recording until 3 in the morning. Sorry! Learn more about factories at this link: semaphoreci.com/community/tutorials/working-effectively-with-data-factories-using-factorygirl
@hass89
@hass89 Жыл бұрын
Hope you get some good rest! Thanks for your work and effort.
@mikopiko
@mikopiko Жыл бұрын
Factory bot is one of those gems that I had a hard time understanding the use case for and how to work with it. It took some time but I am slowly understanding why it's useful and how you should think conceptually. Thank you for this video Deanin.
@azizdevfull
@azizdevfull Жыл бұрын
Amazing : )
@dc366
@dc366 Жыл бұрын
Can you make a rails app that uses a docker image of elasticsearch? The video you made in the past uses an old version of elasticsearch and those steps do not work with the latest version of elasticsearch. I believe the new version of elasticsearch (8.8.1) requires you to create a docker network and use a http_ca.crt security certificate. As a result the searchkick gem is unable to connect to elasticsearch. Very much appreciate you making these videos
@mikopiko
@mikopiko Жыл бұрын
There are plenty of good examples on Github & Gitlab with Docker compose files using rails, elasticsearch & redis in it. I've found some recent that are up-to-date (but using opensearch instead)! Your answer is one search away.
Audited Gem for Ruby on Rails 7
16:07
Deanin
Рет қаралды 2 М.
Install Factory Bot with Ruby on Rails
17:55
CJ Avilla (cjav_dev)
Рет қаралды 11 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
When To Use React Instead Of Hotwire In Rails 7?
17:30
Deanin
Рет қаралды 9 М.
Unit Testing Rails Models (Test Driven RSpec, Ep 04)
27:30
Brett Codes
Рет қаралды 10 М.
Factory Bot Tutorial for Beginners
21:10
BrainTrust Digital
Рет қаралды 11 М.
Low Level Cache for Top Articles | Ruby on Rails 7
13:19
Deanin
Рет қаралды 1,6 М.
How to RSpec - Fairly comprehensive starter guide to RSpec
2:08:55
Intro To View Components In Ruby On Rails 7
35:27
Deanin
Рет қаралды 8 М.
Episode #100 - Basic Testing Introduction in Rails
13:35
Drifting Ruby
Рет қаралды 22 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН