Skip to content

Namespaces in Rails: ActiveModel, Inheritance, and Routing [ATLRUG Virtual]

Photo of Frank Rietta
Hosted By
Frank R. and 2 others
Namespaces in Rails: ActiveModel, Inheritance, and Routing [ATLRUG Virtual]

Details

Is your `app/models` directory becoming a bit unwieldy? Do you find yourself with many models sharing a common prefix? What about effectively organizing routes for an admin area or another subsection of your application? Namespaces in Rails offer a powerful solution for organizing your models and controllers into logical "folders." Discover how ActiveModel provides even greater flexibility within namespaces, allowing you to declare abstract base classes and implement single table inheritance with your sub-models. Join Frank Rietta as he shares the techniques he's used from Rails 3 up to Rails 8 to keep Rails applications well-organized. Learn how to define namespaced models and controllers, set up namespaced routes, and leverage ActiveModel features within these structures.

The Atlanta Ruby Meetup is our monthly ONLINE main event.

Schedule:

6:30pm - 7:00pm: Connect to the Google Meet and chat with other Rubyists
7:00pm - 7:45 pm: Presentation
7:45pm - 8pm: Time for questions and chit chat

Interested in Speaking? Want to show off your Ruby project or Ruby-related technology? Want to suggest a topic? Let us know!

Photo of Atlanta Ruby Meetup Group group
Atlanta Ruby Meetup Group
See more events

Every 2nd Wednesday of the month

Online event
This event has passed