Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RailsConf 2017: Tricks and treats for new developers by David Padilla Are you ready to begin building applications with Ruby on Rails? It's very easy to follow a tutorial and learn how to build a blog in 15 minutes, but there's a lot more to it in real life when you try to code a big web app. During this talk I will give you a bunch of tips and tricks for Rails development that almost everyone follows but rarely anyone talks about. If you are about to join this fantastic community, this talk is for you.
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 his talk "Tricks and Treats for New Developers" at RailsConf 2017, David Padilla shares essential tips and tricks for developing applications using Ruby on Rails. Targeted at new developers, the presentation emphasizes the nuances beyond simple tutorial projects, delivering practical insights based on Padilla's own experiences. **Key Points Discussed:** - **Configuration Files:** Developers should create example configuration files (like the database file) and ignore the originals for easy reference, enhancing collaboration and easing new developer onboarding. - **Schema Files:** It is crucial to maintain the schema file for restoring the application's database state, and developers should address conflicts rather than ignoring them. - **Data in Migrations:** Caution is advised when changing data in database migrations due to potential downtime and future coherence issues. Instead, data changes should be handled separately using data migrations or SQL. - **Background Jobs:** When using background jobs, passing object IDs instead of full objects avoids performance issues and errors. Always opt for delivering emails later to ensure stability during transactions. - **RESTful Design:** Developers should adhere to REST principles by limiting controller actions to standard ones (index, show, create, update, delete) and creating separate controllers for specific actions like filtering or applying discounts. - **Essential Gems:** Padilla recommends using tools such as Rubocop for code analysis to maintain clean and effective coding practices, emphasizing how these tools can help enforce good coding standards even within larger projects. - **Memory Management:** Key recommendations include using gems like Bullet to detect N+1 queries and memory leaks, streamlining the development process and improving application performance. Through relatable anecdotes and foundational knowledge, Padilla's talk serves as a guide for beginners to enhance their skills and navigate the complexities of Rails development effectively. By focusing on configuration, structural integrity, and best practices, he illustrates how systematic approaches can lead to more manageable and efficient coding endeavors.
Suggest modifications
Cancel