[flexcoders] Re: Using the create method in a Flex/Rails app, 2032 Stream Error in IE only

2009-01-01 Thread weezee49
For some unknown reason my code snippet above didn't show the key line correctly. The important line is the next to last line in the snippet below: > > @simulation = Simulation.new(sim_hash) > @simulation.user_id = current_user.id > @simulation.save! #need to save to get the id from the dat

[flexcoders] Re: Using the create method in a Flex/Rails app, 2032 Stream Error in IE only

2009-01-01 Thread weezee49
There are actually 3 parts to this question. I have found a solution to each. The first part is how to create a new simulation given the data for a simulation, server, load and buffer. I resolved this in my simulations_controller#create method. The trick linking up the newly created entities (