multi-model-forms

How to use error_messages_for in a multi-model form?

I have two models: Album and Track. Album has many tracks, and Track belongs to album. I'd like to have the ability to create as many tracks as needed while creating the album, similailiy to railscasts episode 197. Unlike the railscasts episode, though, the Track form contains both a title and a description - both are required. Right n...

Problem with date_select when using :discard option. (Rails)

I'm using a date_select with the option :discard_year => true If a user selects a date in the date select, and then he comes back and returns the select to the prompt values of Month and Day, Rails automatically sets the select values to January 1. I know this is the intended functionality if a month is selected and a day is left bla...