Creating A Private Ruby Gem for Ruby on Rails 7

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

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

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

    I really like the background music.
    Keep up the good work!

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

      I think you're the first person to notice/comment on the music in about a year haha. Glad you like it! It's been a real challenge turning it down enough to not be intrusive, but loud enough to cover the occasional silence.
      Thank you!

    • @ervintorra
      @ervintorra ปีที่แล้ว

      Yeah I know. I find it relaxing at the same time watching your videos.

  • @writtekdey6605
    @writtekdey6605 ปีที่แล้ว +3

    Thanks a ton. Your videos helped me through a lot each day.. Can you also cover some more on Rspecs please? I am a mid level rails dev, but working with Rspec sometimes scares me, I usually delegate this out to other devs😂

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

      I'm pretty sure if you're delegating testing that means you're at least a senior dev or management 🤣
      But yeah, I can cover rspec more haha.

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

    Get caught up with the rest of the engine/gem playlist: th-cam.com/play/PL3mtAHT_eReyw8jh6YSpjTp-JsHhnPUgM.html
    Hope this helps!

  • @agustinpalmam2923
    @agustinpalmam2923 ปีที่แล้ว

    Great video Deanin!! Thanks a lot 😃

  • @supermarinespitfire1
    @supermarinespitfire1 ปีที่แล้ว

    great video! You had me checking the rails guides for validations as I was wondering how your custom validation method was working...turns out adding an error to the errors object on title causes validation failure.

  • @ithmatic
    @ithmatic 8 หลายเดือนก่อน

    Nice! Could you do one on packaging javascript in a gem?

  • @hass89
    @hass89 ปีที่แล้ว +1

    Looks great. What if the repo was private-private?

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

      You have two options that I've personally seen used.
      One is to create an account that has read permissions for any private gems you have, and then pass that username and password with your git repo in your gem file.
      The other is to create a personal access token which gives you permissions for a single repository per token.
      I'm on my phone right now, so the best I can do is give you a link. But I think this one covers both options, although admittedly I did just skim it 😅
      depfu.com/blog/2017/08/02/bundler-and-private-dependencies

    • @hass89
      @hass89 ปีที่แล้ว

      Thanks! I think the access token is best.

  • @bernard2560
    @bernard2560 ปีที่แล้ว

    Very cool

  • @alexanonym1584
    @alexanonym1584 8 หลายเดือนก่อน

    What does &: frozen means

  • @alexanonym1584
    @alexanonym1584 8 หลายเดือนก่อน

    What does all(&:frozen?) Syntax means in ruby. I understand all(|item| item.frozen?) means. But what &:frozen? means?

    • @yojou3695
      @yojou3695 7 หลายเดือนก่อน

      it's the same thing, just a shorthand.

  • @stpaquet
    @stpaquet ปีที่แล้ว

    is a Set considered an Array in ruby 😜