- 216
- 499 750
SupeRails
Poland
Registrace 7. 03. 2021
⏳ 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/
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/
Friendly Show S2E5 Balkan Ruby! 👽 Irina Nazarova. Making $ on Dev tools 🤑🤑🤑
This week we are visiting Balkan Ruby in Sofia, Bulgaria.
We met a lot of people who impact our community.
In this episode we discuss Sustainable Open Source with Irina Nazarova, CEO of very very @evil.martians
balkanruby.com/
We met a lot of people who impact our community.
In this episode we discuss Sustainable Open Source with Irina Nazarova, CEO of very very @evil.martians
balkanruby.com/
zhlédnutí: 126
Video
SupeRails #165 Manage active sessions. Security feature
zhlédnutí 553Před 19 hodinami
In some cases to enhance security of your application you will want to allow users to see all the devices/browsers they are logged in with. You would also provided a button to sign out of a device/browser. Here's how you can do it! Episode source code: github.com/corsego/165-security-manage-active-sessions/commit/028064768ecb033dc19d7f3179bb52d963a734f4 Based on this blogpost: blog.corsego.com/...
SupeRails #164 The illegal loophole to scaffold Tables in Rails 7
zhlédnutí 1,5KPřed 21 dnem
Since Rails 7 you can not scaffold tables in the index view any more. Instead you have a list of cards. Here's how you can bring back tables to your scaffolds. DHH hates this one simple trick! Episode source code: github.com/corsego/164-scaffold-erb-tables/commit/bbcd2d880824dfb838564b86024a8dd902028cf1 Based on this blogpost: blog.corsego.com/custom-scaffold-templates Resources: - www.reddit.c...
SupeRails #163 Instant page loads with Turbo 8 prefetch (aka InstantClick)
zhlédnutí 910Před měsícem
Turbo 8 has been released! One of the core new features - hover-click preload acceleration (ala InstantClick). InstantClick makes an assumption about potential user behaviour: now whenever you hover on a link, it will fire a GET request to retrieve that page. So when you actually click on the link, it will load faster. Remarkable how effective it is for perceived performance. It can save hundre...
Friendly Show S2E4 Ufuk says there is definitely NO consipracy around RailsConf 2024 in Detroit!
zhlédnutí 153Před měsícem
Audio version: www.friendly.show/2278525/14689994-why-detroit-meet-ufuk-the-secret-organizer-behind-rails-conf-2024 RailsConf is happening on 7-9 of May! And Ufuk is the lead organizer! He recently joined the Ruby Central board of directors. He is on the Shopify infrastructure team, working on making Ruby on Rails a better ecosystem 💪 We discuss: - What makes RailsConf 2024 special? - What is "...
SupeRails #162 Gem Ferrum - Generate PDF and PNG with Headless Chrome API. No Puppeteer, no NodeJS
zhlédnutí 761Před měsícem
Ferrum is Headless Chrome Ruby API. Ferrum lets you open a headless chrome browser and perform different actions: - visit web page - HTTP authenticate - find element by css/id - click link - fill in input field - take screenshot of a page - save page as PDF In this episode we will: 1. open page in new tab in PDF format 2. save page as PDF 3. save page as PNG Unlike Grover, it does not require P...
SupeRails #161 Import ICS Calendar events with Gem iCalendar
zhlédnutí 338Před měsícem
I love building calendars! ICS is the default format for a calendar file. Today we'll learn to read an ICS file and import it into our app. Recently 37signals released "Import ICS events" as a new feature in Hey Calendar. You can do it too! Episode source code: github.com/corsego/161-import-ics-calendar-events/commit/0e3704fc5728af60df6bc24f38062f46abfda4ba Based on this blogpost: blog.corsego....
Friendly Show S2E3 Meet SQLite Jesus, Stephen Margheim
zhlédnutí 249Před měsícem
Steven is on a mission to make SQLite good enough for production. We talked about: - SQLite and Litestack - contributing to open source - being "the guy" in a niche, creating your own luck
Rails #160 Meta Tags. Open Graph, SEO, social sharing previews
zhlédnutí 465Před 2 měsíci
Meta tags help to render your website nicely in the browser, in search engines, and in social media link previews. Favicon, site name, page title, page description, and page image are the most impactful meta tags. Learn to set meta tags without and with gem "meta-tags". Learn to preview meta tags by specialised crawler tools. Episode source code: github.com/corsego/160-meta-tags-og/commit/d29de...
Rails #159 Access localhost anywhere with Ngrok
zhlédnutí 583Před 2 měsíci
Ngrok gives a public URL to your localhost. This is useful for testing from other devices, working with external APIs that require a real URL. Based on this blogpost: blog.corsego.com/ngrok P.S.1. If you hit the limit, consider alternatives! P.S.2.. I am not affiliated with Ngrok.
Rails #158 Build a Calendar from zero. No external dependencies!
zhlédnutí 1,6KPřed 2 měsíci
A long time ago I thought it impossible to build a calendar on your own; I thought you need an external library. However building a calendar is much easier than you think! Let's build a monthly view calendar, and populate it with events! Episode source code: github.com/corsego/158-calendar-app/commit/1702b7f385b80064635a96b0038aaf451999659b Based on this blogpost: blog.corsego.com/build-a-calen...
Friendly Show S2E2 Amanda Perino. RailsWorld 2024. CFP open. How to become a speaker?
zhlédnutí 190Před 2 měsíci
Join the dialogue with Amanda Perino, CEO of the Rails Foundation, as we unpack the intricacies and excitement of Rails World 2024. Amanda brings her unique perspective to the table, revealing the behind-the-scenes of organizing a top-tier conference in Toronto and how they're shaping it to be an even more engaging and community-driven event. We reminisce about past encounters that birthed our ...
Friendly Show S2E1 Andy Croll - CTO at CoverageBook, Brighton Ruby, RailsConf
zhlédnutí 87Před 2 měsíci
Join the conversation with the serial conference organizer Andy Croll, where we talk about how he started Brighton Ruby, why he's still doing it, how he's helping organize RailsConf this year, and about First Ruby Friend and why you should hire junior developers. brightonruby.com/ firstrubyfriend.org/ railsconf.org/
Is DocRaptor worth it? Puppeteer, DocRaptor, WeasyPrint
zhlédnutí 275Před 2 měsíci
In E155 I talked about DocRaptor - a premium API for generating and storing PDF via the PrinceXML HMTL-to-PDF technology. Today I am joined by James Paden who explains the intricacies of PDF generation and talks about free alternatives (puppetteer, weasyprint). I have always considered "HMTL to PDF" is a fundamental technology that should be open source. My key takeaways: - To generate a one-pa...
Ruby on Rails #157 Calendar Search with gem Pagy
zhlédnutí 624Před 3 měsíci
Ruby on Rails #157 Calendar Search with gem Pagy
FriendlyShow S1E10 Finale. 2023 summary, 2024 plans. What's coming to Rails 8?
zhlédnutí 174Před 3 měsíci
FriendlyShow S1E10 Finale. 2023 summary, 2024 plans. What's coming to Rails 8?
Rails #156 Turbo 8 Morphing in real life
zhlédnutí 3,5KPřed 4 měsíci
Rails #156 Turbo 8 Morphing in real life
Friendly S1E9 Mariusz Koziel - Ruby community in Poland, how to become CTO and CEO
zhlédnutí 271Před 4 měsíci
Friendly S1E9 Mariusz Koziel - Ruby community in Poland, how to become CTO and CEO
#155 Generate, store, email PDF invoices. DocRaptor API, HTML to PDF, ActiveStorage, ActionMailer
zhlédnutí 883Před 4 měsíci
#155 Generate, store, email PDF invoices. DocRaptor API, HTML to PDF, ActiveStorage, ActionMailer
Ruby on Rails #153 Refactoring Hotwire Modals
zhlédnutí 1,5KPřed 5 měsíci
Ruby on Rails #153 Refactoring Hotwire Modals
Ruby on Rails #152 Custom Turbo Streams. How to redirect from a form that is inside a turbo frame?
zhlédnutí 1,1KPřed 5 měsíci
Ruby on Rails #152 Custom Turbo Streams. How to redirect from a form that is inside a turbo frame?
Friendly Show E8 Andrea Rocca, Hotwire Cookbook, Rails UI, and flying foxes
zhlédnutí 164Před 5 měsíci
Friendly Show E8 Andrea Rocca, Hotwire Cookbook, Rails UI, and flying foxes
Ruby on Rails #151 Advanced Hotwire modals
zhlédnutí 1,8KPřed 5 měsíci
Ruby on Rails #151 Advanced Hotwire modals
Rails #149 DataTables - Filters. Form fields OUTSIDE form. Checkboxes, radio buttons
zhlédnutí 783Před 5 měsíci
Rails #149 DataTables - Filters. Form fields OUTSIDE form. Checkboxes, radio buttons
Friendly Show E7 October summary, Brovember plans
zhlédnutí 144Před 5 měsíci
Friendly Show E7 October summary, Brovember plans
Rails #148 DataTables without page refresh using Hotwire Turbo Frames
zhlédnutí 2,3KPřed 5 měsíci
Rails #148 DataTables without page refresh using Hotwire Turbo Frames
Rails #147 DataTables - search, sort, pagination with Ransack and Pagy
zhlédnutí 2,7KPřed 5 měsíci
Rails #147 DataTables - search, sort, pagination with Ransack and Pagy
Ruby on Rails #146 Generate Barcodes with JsBarcode. StimulusJS, Importmaps
zhlédnutí 533Před 6 měsíci
Ruby on Rails #146 Generate Barcodes with JsBarcode. StimulusJS, Importmaps
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!
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.
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.
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 ?
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! 🎉
As always. Good stuff from SupeRails!
Thanks! I can't believe you helped me do this! So grateful.
Any pointers on how to deploy it?
here's how: blog.corsego.com/gem-ferrum-generate-pdf#7-heroku
Thanks, @@SupeRails !
This does look really interesting. I am a bit concerned with the timeouts but I think I may give it a shot creating them in background jobs. I'm currently using PDFShift, which so far is working well, but it would be nice to do it all in house.
I agree: I think it’s best to use background jobs to store generated files (rather than display them in browser on render without saving)
Спасибо тебе! За мега-полезные туториалы и вообще! :)
Thanks for your video.
Good! Thanks, Ярослав!
Thank you very much Yaroslav, greetings from México.