Handling First & Last Name with the name_of_person gem
Deciding whether or not to have separate first and last name fields gets a bit confusing. Basecamp's recently released name_of_person gem shows you exactly how to handle this reliably and also stands as a fantastic example of how to build a concern
How to Submit Complex Form Data in Ruby on Rails
#364 · Pro
It's a common situation that we need to submit complex data in our forms in our Rails apps. We'll explore how can we transform the simple values browser forms allow and convert them into something Rails can use and transform into Ruby objects.