Nested Hashes

Hi,

  I'm about to implement a feature that requires a complex set of
options to be sent over. This requires me to do things like:

text_field "some_object", "", :name => "inventory_view[settings]
[where_clause][inventory_days_symbol]"

Rails parses name into the correct structure, namely:
"some_object"=>{"name"=>"",
"settings"=>{"where_clause"=>{"inventory_days"=>"34"}}}

What I"m worried about is whether this is an acceptable way of doing
things. I don't want to assume that if it works, then it's OK. I'm
trying to avoid future breaks with upgrades.

What do railers do to handle posts that require complex structures
like this instead of the usual :some_key => some_hash ?

-Nash

Hey,

Are you sure you need such a deep structure and you cannot flatten it?
If you are, I see no problems, it should just work.

Cheers,
Yuri