# Really Complex Forums

**URL:** <https://www.ruby-forum.com/t/really-complex-forums/135690>\
**Category:** Rails\
**Created:** [April 24, 2008, 8:34am UTC](https://www.ruby-forum.com/t/really-complex-forums/135690 "2008-04-24T08:34:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [April 24, 2008, 8:34am UTC](https://www.ruby-forum.com/t/really-complex-forums/135690/1 "2008-04-24T08:34:58Z")

</div>

Following this example of virtual attributes I’d like to go down another  
level

> **[\#73 Complex Forms Part 1 - RailsCasts](http://railscasts.com/episodes/73-complex-forms-part-1)**
>
> Short Ruby on Rails screencasts containing tips, tricks and tutorials. Great for both novice and experienced web developers.

In other words create a form that lets a user create a project which has  
multiple tasks (tasks have names) which in tern have multiple steps  
(with their own attributes)

What does that look like?

project[task][steps][]

Thanks,

Arshak

---

<div class="post-metadata">

**Author:** ![arshak](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/85e7bf/32.png) [@arshak](https://www.ruby-forum.com/u/arshak)\
**Post date:** [April 24, 2008, 3:54pm UTC](https://www.ruby-forum.com/t/really-complex-forums/135690/2 "2008-04-24T15:54:42Z")

</div>

That’s sounding complex. You might consider using “fields\_for” to try  
and get to the nesting without such a deep array stack. Look at the  
API docs for “fields\_for” to get an idea how you might do this.

Ultimately, what I’d do is some trial and error with a debugger in the  
action so I could inspect the params hash.

-Danimal

P.S. It looks right, though. Ultimately, you’d end up with a params  
hash that would have something like params[:project] =\> { :task =\>  
{ :steps =\> [1,2,3] } } so maybe project[task][steps][] is exactly  
what you need.

On Apr 24, 12:34 am, Arshak N. \<rails-mailing-l…@andreas-
