I think what you're looking for is the build method, something along
the lines of @job.steps.build in your controller.

Take a look at the complex form railscasts by Ryan Bates:
http://railscasts.com/episodes/73-complex-forms-part-1
(go to parts 2 and 3 after you're done with part 1).


On Dec 22, 5:56 am, John Smith <rails-mailing-l...@andreas-s.net>
wrote:
> Thanks a lot, but I think that does not solve my problem, because I need
> to create a job to make a relation between the job and it steps. With
> that, I can create steps without a job, but how can I make relation
> between these steps and the job. Should I have to take the last steps
> and make a relation with the job I am creating? I think this is a bas
> solution.
> Any other ideas?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to