Dan Kubb (dkubb) wrote: > Miles, > > >> <select id="test" name="account[type]">........ >> >> account.update_attributes(:params[account]) >> >> property type doesn't seem to get updated >> >> does this syntax seem right ? >> > > Did you mean to write it as: > > account.update_attributes(params[account]) > yes I did have (params[:account]) - still not finding error - trying to figure out how to write test to capture what the response is, so I can see what parameters are being passed back. I'm also passing back several classes so don't know if that is a problem
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
