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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 6

  • @Deanin
    @Deanin  ปีที่แล้ว +2

    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 ปีที่แล้ว +2

      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 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      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.