# Nested params issue with Rack 1.0 / Unable to freeze Rails

**URL:** <https://www.ruby-forum.com/t/nested-params-issue-with-rack-1-0-unable-to-freeze-rails/166001>\
**Category:** Rails\
**Created:** [April 20, 2009, 9:23pm UTC](https://www.ruby-forum.com/t/nested-params-issue-with-rack-1-0-unable-to-freeze-rails/166001 "2009-04-20T21:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slafochmed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@slafochmed](https://www.ruby-forum.com/u/slafochmed)\
**Post date:** [April 20, 2009, 9:23pm UTC](https://www.ruby-forum.com/t/nested-params-issue-with-rack-1-0-unable-to-freeze-rails/166001/1 "2009-04-20T21:23:21Z")

</div>

Hi,

I have a very strange issue. I upgraded my Application to Rails 2.3.2  
without any problems, then freezed it to vendor/rails and worked through  
all my specs after I also upgraded Rspec to 1.2.4. At some point (I  
cannot exactly tell you when) nested parameters didn’t work anymore.

That means the server receives something like:

{ “post[body]” =\> “data” }

instead of

{ “post” =\> { “body” =\> “data” } }

This issue seems to be known as the Rails 2.3.2 / 2.3.2.1 confusion.

So I worked through all the forums, deinstalled the gem rack-0.9.1 and  
checked that I have the commit 39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4  
([Ensure our bundled version of rack is at the front of the load path · rails/rails@39ff550 · GitHub](http://github.com/rails/rails/commit/39ff550fa88da9a22d8c21ca872f5e4d0d83f8d4))  
That means the bundled rack-1.0 should be loaded, at least my rack.rb  
reads on line 6

$:.unshift(File.expand\_path(File.dirname(FILE)))

Still the problem persists and I don’t know exactly how to fix this.

I also tried

$ sudo rake rails:freeze:edge RELEASE=2.3.2.1

But all I get is:

cd vendor Downloading Rails from [http://dev.rubyonrails.org/archi](http://dev.rubyonrails.org/archi)…  
rake aborted! Operation timed out - connect(2)

I cannot call or reach [http://dev.rubyonrails.org](http://dev.rubyonrails.org) , not even in my  
browser. Any ideas?

Here are two related lighthouse tickets which didn’t solve my problem:

[https://rails.lighthouseapp.com/projects/8994/tickets/2259-params-hash-issues](https://rails.lighthouseapp.com/projects/8994/tickets/2259-params-hash-issues)

[https://rails.lighthouseapp.com/projects/8994/tickets/2255-bundled-rack-10-doesnt-loaded-first-in-rails-232](https://rails.lighthouseapp.com/projects/8994/tickets/2255-bundled-rack-10-doesnt-loaded-first-in-rails-232)

Thank you for any hints / ideas / solutions!

---

<div class="post-metadata">

**Author:** ![slafochmed](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@slafochmed](https://www.ruby-forum.com/u/slafochmed)\
**Post date:** [April 20, 2009, 11:10pm UTC](https://www.ruby-forum.com/t/nested-params-issue-with-rack-1-0-unable-to-freeze-rails/166001/2 "2009-04-20T23:10:07Z")

</div>

hi,

$ sudo rake rails:freeze:edge RELEASE=2.3.2.1

worked now, but the problem still persist. All my forms are broken.

Any ideas?
