Phil Smyphilsmy.hashnode.dev·Aug 14, 2023Integrate ChatGPT with Rails 7: Step-by-Step TutorialThe rapid integration of Artificial Intelligence into daily routines and business practices is a testament to its revolutionary impact. OpenAI, one of the frontrunners in this transformation, offers powerful language models like GPT-3 and GPT-4 that ...DiscussRuby on Rails
Ahmed Nadarahmednadar.hashnode.dev·Jul 10, 2023A Peek into Crafting Connectroots with Ruby on RailsIdeas come and go. Yet, a select few manage to take root in our minds, demanding our attention and action. To garner quick feedback, we need reliable tools—those simple to grasp, operate, and seamlessly navigate their ecosystem. A robust community of...DiscussRuby on Rails
Mateusz Białowąsmateuszbialowas.com·May 21, 2023Handling Create and Update Operations with Turbo Streams in Rails 7 (rspec tests included)TL;DR post searches_url, params: { search: invalid_attributes }, as: :turbo_stream I have recently implemented CRUD(Create, Read, Update, Delete) operations using Rails 7. There are multiple methodologies for creating and updating records. One such...Discuss·582 readsRuby on Rails
A'sTechwareastechware.hashnode.dev·Mar 24, 2023Exploring the Latest Web Development Trends: A Dive into Rails 7 and Turbo.Rails 7 with Hotwire and Turbo is a powerful web development framework that provides developers with an extensive range of features, tools, and libraries. It’s designed to make it easier for developers to create high-performance applications that are...DiscussAstechware
Mateusz Białowąsmateuszbialowas.com·Oct 31, 2022Dependent drop-down selects with Rails and HotwireThis article will teach you how to create drop-down selects with Rails and Hotwire. I want to add country and state to the user. When users select a country, we want to fetch all states from this country and add to the states input-select. Let's sta...Discuss·1.3K readsRuby on Rails
Andrew Fosterandrewfoster.hashnode.dev·Oct 3, 2022Dropdown/Select component using ViewComponent and HotwireTailwindUI has something they call a Select Menu component which will be the basis for what I am calling a Dropdown component. Here is my Storybook entry for the finished component: And here is the component in action for two different types of drop...Discuss·1 like·425 readsLearn MoreRuby on Rails
Andrew Fosterandrewfoster.hashnode.dev·Sep 5, 2022Displaying audit logsWay back in Part 8 I spoke about adding auditing to this application. I used the audited gem to provide the functionality for tracking changes. Now I want to display those audit logs to the users. This is going to introduce a couple challenges from a...Discuss·46 readsRails 7 ApplicationRuby on Rails
Andrew Fosterandrewfoster.hashnode.dev·Aug 30, 2022Calendar component using ViewComponent and HotwireTailwindUI has a nice looking calendar component I can use for this task. Here is what it will look like: And here is the component in action being used to set a value for a date input: https://www.loom.com/share/5aba00620a15484baa3f7a6fb08f617d Let...Discuss·1 like·757 readsLearn MoreRuby on Rails
Andrew Fosterandrewfoster.hashnode.dev·Aug 15, 2022Nesting content with Tab NavigationThis application has a number of models that have has_many associations to other related models. An example being an ItemSellPack has many aliases declared through ItemSellPackAlias. Presenting these related records is a user interface decision of wh...Discuss·41 readsRails 7 ApplicationRuby on Rails
Andrew Fosterandrewfoster.hashnode.dev·Jul 22, 2022Notifications and Animation with HotwireAn important aspect of any application is letting the users know what is happening in the clearest possible way, and even more so when this application can now be broadcasting changes that other users have made. Right now the default Rails notificati...Discuss·324 readsRails 7 ApplicationRuby on Rails