- 10
- 5 791
AI on Rails
United States
Приєднався 30 жов 2024
Exploring how AI can elevate developer experiences, with a focus on Ruby on Rails-my favorite web framework and programming language. Insights from a seasoned software engineer and technology enthusiast.
Deepseek V3 with Aider, deep dive
In this video I take a deeper look at Deepseek V3 using Aider. The objective is to overcome some of it's shortcomings when generating forms for Ruby on Rails using the CSS Zero utilities and component CSS.
Переглядів: 221
Відео
Deepseek V3 is here! See how it stacks up against Claude Sonnet 3.5, Google Gemini 2.0, and Qwen 2.5
Переглядів 844День тому
In this video, I dive into the exciting world of the new Deepseek V3 Open Source LLM. Promoted as a strong competitor to frontier models from giants like Anthropic and OpenAI, I couldn’t resist putting it to the test. Watch as I compare Deepseek against some of the top frontier models, tackling identical real-world tasks to see how they measure up. Which one will reign supreme? Watch to the end...
Build a Rails 8 Application Using Aider AI and CSS Zero
Переглядів 93628 днів тому
In this video I am changing it up. I am using the the open source Aider AI coding tool along with CSS Zero for CSS utility classes and components. Please let me know what you think in the comments below! Easy Notes source code: github.com/sandnap/easy_notes
Using Flowbite Components on a Modern Rails 8 Application
Переглядів 472Місяць тому
In this video I walk through the procedure of setting up Flowbite components on a Rails 8 application. I have had a number of requests from people asking about this setup. I am very pleased with this combination so far, let me know what you think! Download the Flowbite assets: cdn.jsdelivr.net/npm/flowbite@2.5.2/dist/flowbite.min.css cdn.jsdelivr.net/npm/flowbite@2.5.2/dist/flowbite.turbo.min.j...
Cursor Composer Agent Vs. Windsurf Cascade Agent - Head to Head - Battle of the Agentics!
Переглядів 325Місяць тому
Cursor Composer just dropped an agentic option for Composer! Just when I thought Windsurf was going to be my new editor, now the choice is not so clear! In this video I do a head to head comparison of both IDE's creating the same, non-trivial investment tracking application. Let me know what you think in the comments and like and subscribe if you want more content like this. Enjoy!
Codeium Windsurf on Rails! Could this replace Cursor AI as my new code editor?
Переглядів 335Місяць тому
I am changing it up on this video. As some of you may know I have been using Cursor AI as my primary code editor on my Rails and JavaScript projects for a few months and have become pretty comfortable with it. I have heard great things about Windsurf and thought I would put it to the test. Spoiler alert: I am impressed! I may have found my new favorite editor.
Building a Rails 8 application using Cursor AI and the FREE Qwen 2.5 Coder 32B open-source model
Переглядів 278Місяць тому
The free, open-source Qwen 2.5 Coder model with 32B parameters just dropped, and I finally have time to check it out. In this video, I’ll use the new model in Cursor AI to build a Rails 8.0.0 application leveraging Flowbite and Tailwind. Check out Qwen 2.5 Coder: qwenlm.github.io/blog/qwen2.5-coder-family/
Cursor composer on Rails!
Переглядів 146Місяць тому
This is part 1 of a 3 part series where I will attempt to build the same application using 3 different strategies. 1. All in (this video) - Cursor Composer generates everything from requirements 2. Design Driven Development - Use Cursor/Claude to generate the UI from designs and work back to the models 3. Domain Driven Development - Start with the domain models and work toward the views
AI on Rails - How much more productive can AI make a Rails developer?
Переглядів 1292 місяці тому
In this video I am exploring different strategies for using AI to improve Rails developer productivity. Getting the most from Rails and AI using what I am calling CRAFT, Cursor, Rails, AI, Flowbite, and Tailwind. 1:36 - Introduction 2:57 - Generating requirements 5:48 - Project setup 7:46 - Generating a Stimulus Controller 8:48 - Looking at .cursorrules 10:38 - Starting the MVP 11:02 - Generati...
Cursor AI + Rails 8 - Build an MVP in about an hour!
Переглядів 2,3 тис.2 місяці тому
In this video, I will demonstrate how to build a non-trivial application using Rails 8, Tailwind, Import Maps, SQLite, and the open-source Flowbite component library. Throughout this process, I will extensively utilize AI, primarily through the Cursor AI editor, leveraging various AI models. I will rely heavily on the latest version of Claude Sonnet 3.5, which has proven to be the most effectiv...
You da man!
:) Thanks, and thanks for watching!
Thank you so much for this video)
You're welcome, thanks for watching!
please increase the text size...its barely visible what your typing
Thank you for the feedback! In my more recent videos, I’ve started zooming in a bit further. Sometimes, when I’m coding on projects, I zoom out and forget to adjust it back before recording. I’m working on improving this as I develop better recording habits.
@@AIonRails-v9s its very hard to find rails video, nobody does....hope u will continue. If possible make a video on content rating system
Thank you for this. Font could be slightly bigger, only gripe.
YW, thanks for the feedback! I have improved this in some of my later videos. I need to be more consistent though, I tend to forget to zoom in when I am recording.
I appreciate you going into depth brother. I’m new to coding and appreciate your attention to detail.
Awesome! Thanks for watching, I wish you the best on your coding journey!
Thank you so much!
YW! Thanks for watching.
Can you provide the user_stories.md and mvp.md?
Yes! I didn't push this project to Github (yet) but here is a google doc with the markdown for both documents. docs.google.com/document/d/1sQGGdrHYvl63FyLwge2guSQ8RoLrH8mflgRJ0g8CFMk/edit?usp=sharing
Thanks for the video! How do you feel about aider, compared to windsurf, in terms of effort required and reliability (when using sonnet with aider)?
You're welcome, thanks for watching! I find Windsurf with Cascade and Cursor with Composer easier to use and better at managing context. Aider does pull files into context well but requires more effort to ensure the right ones are available. The main advantage of Aider is its flexibility. For my project, I use about 50% Deepseek V3 with Aider and 50% Sonnet with Composer, depending on the task.
Great video, very useful breakdown 🙂
Thanks for the feedback. I am glad you found it useful.
User stories are not requirements. Should have requirements as a strategic objective or even an initiative. Break those out into epics with requirements. User stories are then created to further refine a requirement into smaller sprint length chunks.
Thanks for your feedback. You're making a common argument for distinguishing the difference between user stories and traditional formats, but it's not set in stone. Here's a definition from the Agile Business Consortium: "A User Story is essentially a well-expressed requirement. The User Story format has become the most popular way of expressing requirements in Agile for a number of reasons." That being said, I believe it's more important to focus on distinguishing between functional and non-functional requirements rather than getting too caught up in comparing traditional requirement formats to user/goal-oriented formats. On larger projects with bigger teams, more extensive analysis is often needed before introducing user stories. However, on smaller projects with smaller teams, the problem may be well understood, and the need for additional ceremony is minimal.
@ hmm good points. I like your ideas here and would agree with the premise.
great topic, great channel! but if you want to have it grow, make your videos shorter, concise and summarise. that would help a lot!
Thanks and thanks for the feedback. My latest videos are getting shorter. I agree with your assessment.
Great video, would love if you could do something on Kamal deployment
Thanks! A video on Kamal is on my list! I am working on a series that goes into more technical detail on Hotwire and Kamal. Both are impressive technologies that take Rails 8 to a new level.
What do you think about the impact this is going to have on Jobs? Does it look like these agents will eventually replace developers?
In my opinion, successful developers will need to adapt and embrace new skills. There will be significant opportunities for those who can communicate effectively with business stakeholders to establish solid application requirements. Developers will also need to master the skill of translating those requirements into a format (prompts) that AI models can understand to deliver optimal results. Large Language Models (LLMs) can generate code at remarkable speeds, but the quality of that code ranges from unusable to mind-blowing. The difference lies in understanding what individual models excel at, selecting the right model for the task, and crafting prompts that maximize effectiveness. The most productive developers have always been, and will continue to be the most sought after. However, the definition of productivity is evolving, whether we choose to adapt to it or not.
There will also be a lot of opportunity for those who learn how to help organizations leverage AI to optimize their workflows. Writing agents, training models, and leveraging RAG to make data more accessible.
Thanks for this! I just discovered Windsurf through this video and it has been saving me
You're welcome! Windsurf is amazing. Thanks for watching.
CSS-Zero is very good and will be used more and more.
Definitely, I plan to use it on more projects going forward.
Excellent video. I have used aider also and really like it as well.
Thanks! It is quite impressive.
Keep it up bro
I will, thanks for watching.
Love this video and its what I've been looking for. I wish cursor and your browser was full screen and no video in the background. Also wish for 4K video, but other than that, awesome job!
Thanks for watching and for the feedback! I nixed the background video and zoomed in a bit more on my newer videos. I am gradually improving my equipment and video editing skills.
Keep up the good work! We need more RoR channels like this.
Thanks! I agree.
Great guide! Very useful and interesting video. Thank you so much!
Your're welcome! I am glad you found it useful.
Thank you, very helpful! New mic sounds better too 👍
Cool, thanks!
This is cool! Thinking of featuring this on our the Flowbite docs actually
Thanks! If it isn't obvious I am really enjoying Flowbite. It works very well with the modern Rails stack.
Thank you so much for this.
You are welcome, thanks for watching. I plan to enhance this application with rails authentication and some additional components in an upcoming video.
Content is 10/10. Constructive feedback to make your media quality even better: get a good microphone.
Thanks! Yep, the audio has been horrible but I have a new microphone now so it should be a lot better.
Great videos. Could you make a video specific to setting up a Rails 8 project for cursor? I.e. the steps of PDR, cursor.rules, rails new, rails g authentication, install turbo, propshaft, tailwind, flowbite. Basically all the steps up to the point one starts working with cursor. Call it Rails 8 AI prep :)
Thanks! I am working on that video right now actually. I had a few people request it. I should have it out today or tomorrow.
Love all your videos. Could you share the PRD/PDS and rules files?
Thanks! Yes I will. I will add them to github and reply here when they are available.
How are you installing Flowbite properly so that the javascript works and you have the documentation for the AI?
Hi! I am using import maps for most of my projects though I have also used esbuild successfully. I am using the turbo build of flowbite (flowbite.turbo.min.js) which has the turbo hooks that handle the data-attribute event binding after turbo page updates. Otherwise, the binding only occurs on the initial page load and is lost when the components are reloaded. This re-binding can be handled manually too with stimulus if you prefer handling it explicitly. For import maps I downloaded the JS and CSS files for the latest flowbite version and put them in the correct directories under the vendor folder. The JS file needs to be added to importmap.rb and imported in application.js and the CSS stylesheet tag added to applicaiton.html.erb. I am working on a video where I go over setting up a Rails 8 project with flowbite & tailwind and demonstrate how to use a few components. I hope to have that video done in the next day or two.
Thanks for all the recent videos. Very exciting times. I really like your approach to start Claude with product requirements. Would you mind sharing (Github) your requirements files?
Yw, exciting indeed. Thanks for the kudos. I just pushed the cursor version of this project to github, the requirements are here: github.com/sandnap/vesta/blob/main/requirements/application_gen_prompt.md.
Nice, thanks for sharing and I’m looking forward to more videos like this. One small suggestion would be to loose the background and make the window fullscreen for the video to maximize readability of the code. No need to see you typing, we can rear it 😀 🙏
Thanks for watching and providing feedback! After watching the video back on a smaller screen I agree with your suggestion. I have half of a video recorded using the same technique but going forward I will maximize the editor. 🙏
That was really great
Thanks! I have been experimenting with this combination and so far I am impressed. I plan to create more videos as I discover new and better ways to leverage AI with Rails.