[Rails] Multiple Models in one form

2010-05-07 Thread slindsey3000
I have had the worst time getting my forms to accept input for more than one model. I tried using accepts_nested, and other techniques and finally got it all working. But it was not fun. I never did get accepts_nested working! I do need more experience. I did hit upon one idea that I just wante

[Rails] multiple models in one form concurrency problem

2009-06-30 Thread Ben
I'm using the Advanced Rails recipe 'Handle multiple models in one form' and everything works as expected until I start concurrency testing. For example I have a Task model and a Server model where a task can have multiple servers. Now if user1 and user2 edit task 100 at the same time, user1 adds