⏳ 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/
Пікірлер
I have parctice all in 5 hours learn a lot from you man.
Hey guys, I just listened to this episode. Are the videos available for your presentations from RailsSaas? I can't seem to find them.
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...
@@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!
Героям слава) Дякую за туторіал
Adding Embedded Stripe Checkout is a very niche problem, but if you have it, this video should save you some time!
do you normally code straight into the application.html? not through partials? cheers
Thanks!
You are welcome Max!
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
How do you handle stripe coupons or discounts. Thank you for this video im building my first app with stripe in rails
Easy! Inside "Stripe::Checkout::Session.create" add this line: allow_promotion_codes: true,
nice
quite interesting, are you going to upload the entire session?
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.
thanks for the tutorial, can you do a tutorial to use font awesome pro pls?
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"
What keyboard do you use in this video? I love the sound. Also great video!
oh its a regular external white apple keyboard
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
Ярослав, як завжди, все концетровано, дуже корисно. Лайк та у збережені) Додав би ще проміжну таблицю LoginSessions для збереження всіх сесій користувача. Це дозволило б моніторити, чи входив хтось в його аккаунт з чужого пристрою. Поточна реалізація просто видаляє стару сесію і ці дані не зберігаються. Можно паморочитися реалізацію дозволених користувачем пристроїв, з яких можно входити в його аккаунт. Дякую. Співчуваю за Чернігів!
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
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
Good video. Thanks for the resource!
Awesome!
Thanks for the new video. Great job.
Thank for watching Yaro!
12:42 did it for me! Thank you very much
Mil gracias!! Justo lo que necesitaba y explicado paso por paso!
Can you share figma as well so that we can check table and screen simultaneously.
Sorry, I can’t share the Figma file
Would be good to do a walkthru of how to receive emails from AWS / SES and use the ActionMailbox. Looking forward to that
This is really a simplified explanation. Great one 😊
I know this video is a year old, but I want to thank you anyway. You saved me a lot of time and frustration.
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
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.
UI rule #1 - do not display more than one modal at a time on a page.
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 :)
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 ?
I have not used anycable in production. They say it’s good for scale :) Worth considering if oyu experience scaling issues
Lol at "DHH hates this one simple trick!"
TIL! Never thought to put a fake route in the url to get the full routes list, genius!
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
Neat! Thank you, Ярославе!
Very cool!
Waaay better.
I admire how you are able to get information quickly and get to understand the in and out of the framework ❤.
Koji link for the interview book seems to be gone. Could you please provide an updated link where the book still exists?
Thanks. Good job. I like your video.
thanks Yaro!
Excellent tutorial!!! Thank you!!! 🤗
Thank you so much for this tutorial, this is truly educational
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.
Your videos are helping me a lot. Thank you, brother. God bless you.
and if anyone is concerned about the number of requests remember Rails caching is your friend ...and ETags don't forget ETags 😇
Цікаві фічі! Дякую Ярослав що показав. Чекаємо на продовження!
Very cool. I had this idea like 10 years ago and I totally forgot to do something about this idea.
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 :)
how does it work using simple_form?
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.
Thanks for your tutorials! 🎉