Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Lorin has been involved with data for three decades and somehow never gets tired of it! He's on a mission to make life easier for developers and product people around the world. Friendly.rb is an International Ruby Conference hosted in Bucharest at the end of September and focuses on community and creating connections. https://friendlyrb.com https://twitter.com/friendlyrb
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this lightning talk, Lorin Thwaits presents a live coding demonstration on transforming a spreadsheet into a Rails application in just five minutes. The session aims to simplify the developer experience by showcasing how to quickly scaffold a Rails application using existing databases without needing to create files manually. Key Points Discussed: - **Live Coding Setup**: Lorin initiates a new Rails 7 application named 'friendly RB' with PostgreSQL as the database driver without bundling files initially. - **Using Existing Database**: He demonstrates importing the old Northwind database as the application's database, highlighting the ease of integrating existing data into the Rails framework. - **Dynamic Model Generation**: As the application scaffolds, it inspects the database to create models and controllers dynamically. If needed files are missing, it offers suggestions to create models with foreign keys and associations. - **CRUD Operations**: The application enables full CRUD (Create, Read, Update, Delete) operations out of the box, providing a free admin panel utilizing the existing database. - **Integration with Avo**: Lorin discusses integrating the Avo gem to enhance the application's interface, which offers additional resource management without manual file creation. With Avo installed, the orders screen in the app is visually updated to include Avo features. - **API Documentation with R Swag**: To extend the functionality, Lorin adds the R Swag UI gem for documenting API endpoints, enabling easy generation of Swagger documentation for RESTful services. - **Encouragement to Explore Documentation**: He emphasizes the importance of good documentation and encourages viewers to utilize the comprehensive resources available to understand the tools discussed more thoroughly. Conclusion: This presentation illustrates how to adeptly transition data from existing sources into a functional Rails application quickly and efficiently. Lorin emphasizes the ease of building out services that not only meet development needs but also simplify the prototyping and documentation processes. Overall, the key takeaway is that developers can leverage existing databases and modern gems like Avo and R Swag to streamline their workflow and enhance application capabilities with minimal overhead.
Suggest modifications
Cancel