SupeRails

SupeRails

⏳ Learn 10x faster than I did!

Hi 👋

My name is Yaroslav Shmarov.

I work as a Senior Ruby on Rails engineer, and the videos are inspired by my day-to-day work.

I spend my time researching perfect solutions to everyday problems, so that You do not have to!

I'm a big fan of monolyth apps (not microservices with APIs), and server-side rendering with Hotwire (not React/Vue for forntend).

Topics:
➡ Ruby gems
➡ Rails features (ActiveStorage, ActionCable, ActionText etc)
➡ Rails frontend (Hotwire, StimulusJS, ViewComponent)
➡ API integrations (AWS, Google, Twitter, Facebook, Github, Telegram, Stripe, etc)
➡ Code-Along Series
➡ Random tips and tricks
➡ HTML, CSS & JS

❤️ Ruby gems
💚 Rails features
💛 Extras
💙 Code-Along and Live freestyle videos

🤙 Let's connect:
➡ Become a 10x Ruby dev: superails.com/
➡ Read Text Blog: blog.corsego.com/
➡ GitHub: github.com/yshmarov
➡ Linkedin (best place for DMs): www.linkedin.com/in/yshmarov/

Пікірлер

  • @mr.movies7910
    @mr.movies7910Сағат бұрын

    I have parctice all in 5 hours learn a lot from you man.

  • @andyc5630
    @andyc5630Күн бұрын

    Hey guys, I just listened to this episode. Are the videos available for your presentations from RailsSaas? I can't seem to find them.

  • @SupeRails
    @SupeRailsКүн бұрын

    Hi Andy! It's been a year since the conference. I think @railssaas will never release the videos. Reason unknown. The camera crew looked very professional during the event. Maybe $omething went wrong...

  • @andyc5630
    @andyc5630Күн бұрын

    @@SupeRails oh that's a real shame, especially since they sound like they would've been very polished. I'm particularly interested in your (impromptu) talk on the questions you get asked most often. Any chance you have something similar up somewhere? Thanks for the quick reply!

  • @kostiantynfedorenko1704
    @kostiantynfedorenko1704Күн бұрын

    Героям слава) Дякую за туторіал

  • @SupeRails
    @SupeRails3 күн бұрын

    Adding Embedded Stripe Checkout is a very niche problem, but if you have it, this video should save you some time!

  • @andyaerials
    @andyaerials5 күн бұрын

    do you normally code straight into the application.html? not through partials? cheers

  • @MaksymNenashev
    @MaksymNenashev5 күн бұрын

    Thanks!

  • @SupeRails
    @SupeRails3 күн бұрын

    You are welcome Max!

  • @haroldpepete
    @haroldpepete5 күн бұрын

    awesome video, it will be really helpful if after the subscription the user id was updated using a broadcast from the backend and the user wouldn't have to refresh manually

  • @rapfan353
    @rapfan3535 күн бұрын

    How do you handle stripe coupons or discounts. Thank you for this video im building my first app with stripe in rails

  • @SupeRails
    @SupeRails3 күн бұрын

    Easy! Inside "Stripe::Checkout::Session.create" add this line: allow_promotion_codes: true,

  • @haroldpepete
    @haroldpepete6 күн бұрын

    nice

  • @haroldpepete
    @haroldpepete6 күн бұрын

    quite interesting, are you going to upload the entire session?

  • @SupeRails
    @SupeRails6 күн бұрын

    The full talks were recorded by the @railssaas conference team. It's been a year since the conference. I think that, unfortunately, they will never be released.

  • @aldomarquez6560
    @aldomarquez65607 күн бұрын

    thanks for the tutorial, can you do a tutorial to use font awesome pro pls?

  • @SupeRails
    @SupeRails6 күн бұрын

    Hi Aldo! I think that the only change in your codebase will be to add a script like <script src="kit.fontawesome.com/your-unique-id.js" crossorigin="anonymous"></script> and you will be able to use pro icons and upload your own to a "fontawesome kit"

  • @joseluismoreyrajr.7598
    @joseluismoreyrajr.759811 күн бұрын

    What keyboard do you use in this video? I love the sound. Also great video!

  • @SupeRails
    @SupeRails5 күн бұрын

    oh its a regular external white apple keyboard

  • @et_matrix
    @et_matrix13 күн бұрын

    Thanks for the video. I asked members in Telegram Ruby on Rails group and no answer. But if you use rails for api only app those data should be stored in JWT table in my opinion

  • @ledockol
    @ledockol13 күн бұрын

    Ярослав, як завжди, все концетровано, дуже корисно. Лайк та у збережені) Додав би ще проміжну таблицю LoginSessions для збереження всіх сесій користувача. Це дозволило б моніторити, чи входив хтось в його аккаунт з чужого пристрою. Поточна реалізація просто видаляє стару сесію і ці дані не зберігаються. Можно паморочитися реалізацію дозволених користувачем пристроїв, з яких можно входити в його аккаунт. Дякую. Співчуваю за Чернігів!

  • @gauravrewaliya3269
    @gauravrewaliya326913 күн бұрын

    Great video👍😁 But i am thinking the best approach to save last time of that device is used So it become easy to delete too old session like what'sapp , telegram etc As there are lots of simple approach , but i want the effective apprach , as its not good to update db for every request Suggestions from anyone is appreciable

  • @SupeRails
    @SupeRails13 күн бұрын

    With my approach we read the db with each request to check if this session is valid (has not been logged out remotely); Writing to updated_at on each request is not perfect indeed. Alternatively you might have to do some Redis shenanigans 🤪 It's like here's an approach to see "users online" with timestamps: blog.corsego.com/set-user-status-online, and here's a Redis approach: blog.corsego.com/action-cable-broadcast-users-online

  • @mrpolarbear420
    @mrpolarbear42014 күн бұрын

    Good video. Thanks for the resource!

  • @ternggio6563
    @ternggio656314 күн бұрын

    Awesome!

  • @yaroslavbozhak9107
    @yaroslavbozhak910714 күн бұрын

    Thanks for the new video. Great job.

  • @SupeRails
    @SupeRails13 күн бұрын

    Thank for watching Yaro!

  • @kerlq3713
    @kerlq371314 күн бұрын

    12:42 did it for me! Thank you very much

  • @jessicavillegas4654
    @jessicavillegas465415 күн бұрын

    Mil gracias!! Justo lo que necesitaba y explicado paso por paso!

  • @ravidhyani8881
    @ravidhyani888116 күн бұрын

    Can you share figma as well so that we can check table and screen simultaneously.

  • @SupeRails
    @SupeRails5 күн бұрын

    Sorry, I can’t share the Figma file

  • @cmthimmaiah
    @cmthimmaiah16 күн бұрын

    Would be good to do a walkthru of how to receive emails from AWS / SES and use the ActionMailbox. Looking forward to that

  • @priyankamanna5878
    @priyankamanna587816 күн бұрын

    This is really a simplified explanation. Great one 😊

  • @lsampson1974
    @lsampson197417 күн бұрын

    I know this video is a year old, but I want to thank you anyway. You saved me a lot of time and frustration.

  • @SupeRails
    @SupeRails17 күн бұрын

    Hi! I’m glad you found this video useful☺️ I think it will be relevant for a few more years. Currently there is no better approach with rails/hotwire

  • @georgesimei
    @georgesimei18 күн бұрын

    First of all, thank you for the excellent videos; I'm learning so much from them! However, I have a question and would greatly appreciate your help. I've followed all the steps mentioned, but a question has arisen: If I need to add another modal to the same page, such as an additional form, is it possible to do this using the same turbo_frame in the application? Or do I need to code a separate turbo_frame_tag in the index for each modal, each with different IDs? Thanks for your attention.

  • @SupeRails
    @SupeRails5 күн бұрын

    UI rule #1 - do not display more than one modal at a time on a page.

  • @brzdogz
    @brzdogz20 күн бұрын

    This saved me, after hours trying to figure out how to render an image on the email view, you've finally saved me with this tutorial! Ty :)

  • @magc2806
    @magc280627 күн бұрын

    Thank you for your videos! I like the way you explain complex things and make them simple. What is your opinion of using built-in action cable in production? Have you tried anycable which claims is faster and more scalable ?

  • @SupeRails
    @SupeRails5 күн бұрын

    I have not used anycable in production. They say it’s good for scale :) Worth considering if oyu experience scaling issues

  • @doathing6397
    @doathing639729 күн бұрын

    Lol at "DHH hates this one simple trick!"

  • @kengreeff
    @kengreeff29 күн бұрын

    TIL! Never thought to put a fake route in the url to get the full routes list, genius!

  • @SupeRails
    @SupeRails29 күн бұрын

    these days more often I type "rails routes -g hello" in the console, and it gives me all the routes that contain "hello". check this out: www.bigbinary.com/blog/rails-5-options-for-rake-routes

  • @ledockol
    @ledockolАй бұрын

    Neat! Thank you, Ярославе!

  • @mikopiko
    @mikopikoАй бұрын

    Very cool!

  • @tevoj
    @tevojАй бұрын

    Waaay better.

  • @ernestadonu9110
    @ernestadonu9110Ай бұрын

    I admire how you are able to get information quickly and get to understand the in and out of the framework ❤.

  • @SPYGAME213
    @SPYGAME213Ай бұрын

    Koji link for the interview book seems to be gone. Could you please provide an updated link where the book still exists?

  • @yaroslavbozhak9107
    @yaroslavbozhak9107Ай бұрын

    Thanks. Good job. I like your video.

  • @SupeRails
    @SupeRailsАй бұрын

    thanks Yaro!

  • @josfk
    @josfkАй бұрын

    Excellent tutorial!!! Thank you!!! 🤗

  • @pwan3971
    @pwan3971Ай бұрын

    Thank you so much for this tutorial, this is truly educational

  • @switzerland
    @switzerlandАй бұрын

    Ran into a weird issue. Had a page full of links. Instaclick worked as expected but moving the mouse freezed chrome on a medium computer. Firefox was fine. I think there are some issues that need to be addressed. I had to disable it on that page.

  • @arafathossain3778
    @arafathossain3778Ай бұрын

    Your videos are helping me a lot. Thank you, brother. God bless you.

  • @tomasvalent3876
    @tomasvalent3876Ай бұрын

    and if anyone is concerned about the number of requests remember Rails caching is your friend ...and ETags don't forget ETags 😇

  • @ledockol
    @ledockolАй бұрын

    Цікаві фічі! Дякую Ярослав що показав. Чекаємо на продовження!

  • @wakematta
    @wakemattaАй бұрын

    Very cool. I had this idea like 10 years ago and I totally forgot to do something about this idea.

  • @user-cv9ks9yf3g
    @user-cv9ks9yf3gАй бұрын

    Thank you for this video exactly what I was looking for ! would be interested in going further with an export of the filtered result using caxlsx for ex :)

  • @peter14dt
    @peter14dtАй бұрын

    how does it work using simple_form?

  • @peterl0815
    @peterl0815Ай бұрын

    Thx. I've cloned the sources of the Datepicker into /vendor/javascripts and added pin "vanillajs-datepicker", to: "assets/vanillajs-datepicker/dist/js/datepicker-full.min", preload: true # @1.3.4 to the importmaps For the controller I had to add on the top import "vanillajs-datepicker"; So you also don't have to use the imported styles from remote but you can use it from the cloned sources.

  • @alexax3888
    @alexax3888Ай бұрын

    Thanks for your tutorials! 🎉