- 57
- 145 444
Rapid Ruby
United Kingdom
เข้าร่วมเมื่อ 19 ก.ย. 2021
Screencasts for beginner to intermediate web developers using Ruby, Rails, Hotwire and JavaScript.
Hey, I’m Pete, an experienced full-stack developer. I’ve been designing and building complex web apps since 2005. I've built many apps from scratch, run a software agency for many years, built a product and sold it, and I'm here to offer up my expertise in the hope that it’s helpful to others.
Hey, I’m Pete, an experienced full-stack developer. I’ve been designing and building complex web apps since 2005. I've built many apps from scratch, run a software agency for many years, built a product and sold it, and I'm here to offer up my expertise in the hope that it’s helpful to others.
Build dynamic multi-agent AI systems in Rails - intro to my new course
Discover how to transform your Rails app with dynamic multi-agent AI systems! In this intro video, you'll get a sneak peek into setting up AI using LangChain.rb, creating and managing intelligent agents, and enhancing their capabilities with custom tools and internet access. Perfect for developers eager to harness AI's power effortlessly. Watch now and start your AI journey!
Check out the course here:
rapidruby.com/courses/3-ai-on-rails
For a limited time only, use promo code: RRTH-cam for 30% off Rapid Ruby Premium at checkout.
Check out the course here:
rapidruby.com/courses/3-ai-on-rails
For a limited time only, use promo code: RRTH-cam for 30% off Rapid Ruby Premium at checkout.
มุมมอง: 266
วีดีโอ
Game-Changing AI Tools for Rails Devs
มุมมอง 646หลายเดือนก่อน
In this video, I’m sharing some of the AI tools that have transformed my workflow for Ruby on Rails and frontend development. From quickly prototyping UI designs to generating production-ready code, tools like Vercel’s V0 and Cursor are helping me build and iterate faster than ever. Whether it's converting Figma designs into pixel-perfect markup or setting up complex models and tests with ease,...
Design to Tailwind CSS using Chat GPT AI
มุมมอง 6594 หลายเดือนก่อน
In this episode I use ChatGPT to take a design mockup and turn it into responsive markup using Tailwind CSS. You can see the final markup here: gist.github.com/phawk/0ce89715366cc79f339944d7d08aa275 P.s. Want access to next week's video right now? Head on over and sign up on [rapidruby.com](rapidruby.com/) now! If you want to support me you can buy me a coffee here: app.payhere.co/rapid-ruby/bu...
Unleashing Chat GPT: Streaming with Rails + Hotwire!
มุมมอง 5914 หลายเดือนก่อน
In this episode we continue on with the Chat GPT in Rails series, creating a UI for the Chat GPT responses, and then using the streaming features available in combination with Turbo to stream in responses similar to Open AI’s interface. Source code for this episode is available here: github.com/phawk/ruby_open_ai/tree/streaming_responses P.s. Want access to next week's video right now? Head on ...
Open AI Chat GPT basics in Ruby on Rails
มุมมอง 4.2Kปีที่แล้ว
In this episode, I’ll show you the very basics of setting up Open AI’s Chat GPT in your Ruby/Rails application and sending some prompts and getting responses back. Let me know if you found this helpful and want more content on ChatGPT. Also, you can probably tell, but the thumbnail for this episode was fittingly generated using dalle-2! The source code for this episode is available here: github...
Blocking disposable email domains from signing up to your Rails app
มุมมอง 846ปีที่แล้ว
In this episode, we implement disposable email validation on rapidruby.com to prevent sign-ups using temporary email accounts. The source code for this episode is available here: gist.github.com/phawk/6d067103a059109358f74bb9696f5aad Credit to Marc’s tweet for giving me the idea to make this episode: marckohlbrugge/status/1669327712614514691?s=20 Has this video helped you out? Consi...
Moving away from importmaps to esbuild in Rails 7
มุมมอง 5Kปีที่แล้ว
I’ve hit a snag recently with Safari and support for importmaps in Rails 7. Rather than spend valuable time trying to debug this and fix it, I'd prefer to migrate to using Esbuild, as I believe that’s generally a more stable way to handle JavaScript bundling at this point in time. This video is part 11 of my Rails twitter clone course using Hotwire and Tailwind CSS, you can pre-order today and ...
Course preview: RSpec + refactoring
มุมมอง 755ปีที่แล้ว
We’ve been moving quite fast so far, so in this episode, we’ll get the navigation menu items set up and take a moment to refactor the RSpec tests and get them back to green. Source code available here: github.com/phawk/tweeter/commit/7203fcef8dc0aa9e5faa64f045bf9dd888410aaa Use the promo code RRTH-cam for an extra 30% off! PRE-ORDER For access to 6 episodes right now! app.payhere.co/rapid-ruby/...
Rails twitter clone - Part 2
มุมมอง 1.1Kปีที่แล้ว
Continuing on from the last episode we take a deep dive on styling the new tweet form and the display of tweets themselves. We’ll install ViewComponent and create an AvatarComponent to easily reuse some HTML styles. PRE-ORDER THE FULL COURSE NOW: USE PROMO CODE 'RRTH-cam' FOR A FURTHER 30% OFF! app.payhere.co/rapid-ruby/rails-twitter-clone Links: Source code - github.com/phawk/tweeter/tree/cb7c...
Rails twitter clone - Part 1
มุมมอง 3.1Kปีที่แล้ว
In the first episode, I show you how to clone my Rapid Ruby starter template, set up usernames and some validations for them, and create the initial Tweet model and form. If you want a bit more info on how I set up my Rails apps (most of how my Rapid Ruby starter is built), check out my series on How I start every Rails app. Apologies, I forgot to commit part one’s source code, so the link has ...
How to use YAML files to store data in Rails
มุมมอง 850ปีที่แล้ว
How to use YAML files to store data in Rails
Adding tags to content using Postgres’ JSONB in Rails
มุมมอง 1Kปีที่แล้ว
Adding tags to content using Postgres’ JSONB in Rails
Build your own custom newsletter using Ruby on Rails
มุมมอง 1Kปีที่แล้ว
Build your own custom newsletter using Ruby on Rails
Building RapidRuby.com: Tracking video watch time with stimulus 3.0
มุมมอง 558ปีที่แล้ว
Building RapidRuby.com: Tracking video watch time with stimulus 3.0
Simplify your VIEW COMPONENTS with dry-initializer
มุมมอง 1.4Kปีที่แล้ว
Simplify your VIEW COMPONENTS with dry-initializer
The BEST way to build Infinite Scroll using Hotwire
มุมมอง 1.6Kปีที่แล้ว
The BEST way to build Infinite Scroll using Hotwire
Simple migration from devise to has_secure_password
มุมมอง 802ปีที่แล้ว
Simple migration from devise to has_secure_password
Why Hotwire is AWESOME! A lesson on Turbo frames
มุมมอง 10Kปีที่แล้ว
Why Hotwire is AWESOME! A lesson on Turbo frames
Create a drag and drop sortable list using Hotwire
มุมมอง 3.3Kปีที่แล้ว
Create a drag and drop sortable list using Hotwire
Hotwire: Online user tracking with turbo streams
มุมมอง 2.9Kปีที่แล้ว
Hotwire: Online user tracking with turbo streams
DRY up your tailwind CSS using this awesome gem
มุมมอง 1.1Kปีที่แล้ว
DRY up your tailwind CSS using this awesome gem
Build a View Component library in Rails with LookBook
มุมมอง 2.8K2 ปีที่แล้ว
Build a View Component library in Rails with LookBook
Feature: Blocking entire domains in Ruby on Rails
มุมมอง 9992 ปีที่แล้ว
Feature: Blocking entire domains in Ruby on Rails
Tailwind fancy select with Hotwire and view component
มุมมอง 3.7K2 ปีที่แล้ว
Tailwind fancy select with Hotwire and view component
Very cool! I see langchain supports custom models, what a great idea for a course
Would love to see some integration with CrewAI or n8n! just subscribed to RapidRupy and im starting the course!
thanks mate, as a rails noob, been struggling to get into viewcomponents.
If you aren't familiar with the .cursorrules file, you can add that "dotfile" at the project root and add in some common things for it to remember and adhere to, including the tech stack and things like "use fixtures, not factory bot" or what-have-you. I actually swap it to be specific/custom to the project, as it's intended for a per-project basis, so my C#/.NET or Unity-based projects have slightly adjusted cursorrules files. Feel free to copy and adjust this example for Ruby on Rails without javascript compilation and using minitest with fixtures (based off Josh Pigford's cursorrules file which I happened to pick up from a different video): ```You are an expert AI programming assistant that primarily focuses on producing clear, readable Ruby code. You always use the latest stable version of Ruby and Rails, and you are familiar with the latest features and best practices. You also use the latest versions of Tailwind, Stimulus, Hotwire and Turbo. You leverage import maps, not yarn or npm or bun or eslint. You intentionally stick with Stimulus, Turbo, Hotwire, TailwindCSS and Preline for UI design and development in terms of styling and behavior, with ERB-based partials using the standard Ruby on Rails conventions. For generating tests, you leverage minitest and fixtures, not rspec or factory bot. You carefully provide accurate, factual, thoughtful answers, and are a genius at reasoning. - Follow the user's requirements carefully & to the letter. - First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail. - Confirm, then write code! - Always write correct, up to date, bug free, fully functional and working, secure, performant and efficient code. - Focus on readability and efficiency, with well-thought out architecture. - Fully implement all requested functionality. - Leave NO todo's, placeholders or missing pieces. Do not omit anything for brevity, the full code is required, including comments and documentation. - Be sure to reference file names. - Be concise. Minimize any other prose. - If you think there might not be a correct answer, you say so. If you do not know the answer, say so instead of guessing.```
note for self: SOP standard operating procedures. note to author: thank you!
Spooky, but yes your voice was almost there but still way off!
Haha yep! If it could get the voice closer it could be a handy tool!
Super useful.
Thanks!
nice vid, however i found alot of emails still getting through despite that list. had some better success using the api from usercheck.
Good Video
thank oyuu it is so nice !
I'm glad you like it
Thank you! This saved my day.
Whats the theme you are using? It looks super nice!
Hey @kirso, it’s the electron theme package for vs code. Or now cursor 😊
Thank you, great tip
Glad it was helpful!
Awesome
Hi you know the similar video about moving away from webpacker to esbuild in rails 7? Your video is clear to understand
And people say Ruby is not good with ai . It works with open ai google cloud ai and aws ai so hahah
Thank you
This is great. What vs code extension are you using for turbo snippets
I don’t think I have any vs code extension for it, it’s maybe just their autocomplete working well.
What color scheme is that? Looks great!
Have you tried Claude 3.5 Sonnet? To me its SO much better than ChatGPT
I’ve only recently been starting to use Claude, but not for tailwind yet, will give it a try! I think I prefer the anthropic console as a dev, and their prompt generator is ace!
Hello happy to see you back hope more ruby and rails videos do you think of making a rails complete course ?
Hi Justin, thank you! And yes, I have several course ideas at the moment. Between rails dev, or getting into the more business side of things building your own startups etc.
And if you haven’t seen, I have a course where I build a rails app from scratch, it’s a Twitter clone, and uses all the latest Hotwire front end stuff: rapidruby.com/courses/2/buy
Welcome back 🎉🎉🎉
Muchas gracias, justo hoy necesitaba esa solución, eres un pro.
This was great, been a rails engineer for years and I've never really had the chance to play with Turbo, HotWire or any of that way of doing front end things, this scratched that itch.
Welcome back!
He's back!
Yes! Your videos were quickly becoming some of my favorites. Glad to see something new from ya. Cheers
Welcome back 🎉
hey thank you for the awesome content, quick question, is this VS Code, and if so what theme are you using, do you have a video or resource on how you set up VSCode for ruby and rails projects? thanks
Awesome, thank you! To make it case insensitive I did this: array_of_tags = PG::TextEncoder::Array.new.encode(tags) where("lower(tags::text)::jsonb ?| :tags", tags: array_of_tags.downcase)
Nice, thanks for sharing!
terrible solution. going for a bundler is not a fix. you should simply rollback if a release broke something. latest is not always the greatest.
To your point “latest is not always greatest”, is the entire reason I switched that app back to a bundler, because those are a lot more tried and tested than importmaps was at the stage I released this video 😂
Thank you
Hi, How do you make your flash messages so cool? Cheers
Can you share more information about your issue? I'm pretty sure that the rails team or someone has that figured out. Like a technical post on stackoverflow or an issue on github would go a long way to clarify this issue. Coming out with a video that just states that importmaps doesnt work on safari is a huge deal and I think does a dis-service to the rails community, without specifying details which would allow it to be addressed.
At the time of the video, importmaps wasnt working in safari, I didn’t have time to debug this or find out why. I’m not hating on importmaps, I think it’s a really good tool! However, I needed to migrate to several of my projects to esbuild because of this issue, and I thought a video on the migration process would be useful. It’s not a video designed to encourage moving to esbuild, just a documentation of the process I was doing myself, if anyone else also wanted to do a similar migration. My own 2cents on what I would choose to use right now, is still esbuild, because I think bundlers have had many more years of battle testing than importmaps, but I’m certainly not against using it, and have no qualms with the rails team or anything like that. Hope that helps!
That logo is awesome
does anyone knows how to use the social login? could not find any doc
Please, please, please, no background music. I'm sure the content was very good, but I had to find another YT video because the background music was so distracting.
Is it possible to connect with my shopify shop?
Not directly like this unfortunately. You’d b best using shopifys own payment solution, unless there is a reason you can’t?
Great Guide
Hello, how do I implement the controller params part? I generated devise controllers but the content is different from yours.
Thank you for a such great howto, I was having issue with @xterm/xterm using importmaps, switching to esbuild resolved my issue!
Nice one ! Couldnt we improve it futher more by sending a turbo_stream :replace instead of re-sending the whole page ? Clicking radio buttons reload the whole page, when it could only send the desired tags
What version of Safari you have been using? Safari has support for import maps
This is really fantastic, thank you for making it!
thanks
Great video and great channel found this video at the right time. Can you do a stripe subscription video please 🙏
nice! thanks!
That was cool
Have you updated your setup?
Thanks so much for posting your sample code. Found out that my `turbo_stream_from` tag wouldn't work because my JS was using `import '@hotwired/turbo'` instead of `import '@hotwired/turbo-rails'`