Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ActiveModel Form Objects

ActiveModel Form Objects

Explain why it's better to use Plain Old Ruby Objects (POROs) to move business logic away from Ruby on Rails controllers. But it also shows how to use the best of ActiveRecord by using the ActiveModel to extend POROs.

Olivier Robert

March 19, 2018

Transcript

11 slides

More Decks by Olivier Robert

Other Decks in Programming