Form Objects and Rails' Form Builders

"Convention over configuration". This mantra is a cornerstone of Rails and a large reason it's so enjoyable to use. Adhering to Rails' sensible defaults is often the right decision when working with the framework, but at times you may be served best by trying something a little different.

Let's look at an example of where we can still adhere to Rails' contracts/conventions, and maybe write better code than Rails — the form builder.


Form Objects and Rails' Form Builders #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/form-objects-and-rails-form-builders

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles