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 #rails #rubyonrails #bosnia #programming #tutorials #rubydeveloper #railsdeveloper

Nezir Zahirovic

Freelance software developer Ruby On Rails (4 years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles