# Getting error can't modify frozen hash

**URL:** <https://www.ruby-forum.com/t/getting-error-cant-modify-frozen-hash/197091>\
**Category:** Rails\
**Created:** [June 22, 2009, 8:44am UTC](https://www.ruby-forum.com/t/getting-error-cant-modify-frozen-hash/197091 "2009-06-22T08:44:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@skumar](https://www.ruby-forum.com/u/skumar)\
**Post date:** [June 22, 2009, 8:44am UTC](https://www.ruby-forum.com/t/getting-error-cant-modify-frozen-hash/197091/1 "2009-06-22T08:44:19Z")

</div>

Hi,

When I upgraded my rails application to rails 2.3.2 I am getting  
error ‘can’t modify frozen hash’ on using

@something.update\_attribute(params[:something]).  
Can anyone help me who is familiarize with this bug?

Thanks,

---

<div class="post-metadata">

**Author:** ![skumar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9c0ed/32.png) [@skumar](https://www.ruby-forum.com/u/skumar)\
**Post date:** [June 22, 2009, 8:55am UTC](https://www.ruby-forum.com/t/getting-error-cant-modify-frozen-hash/197091/2 "2009-06-22T08:55:26Z")

</div>

The trace of the above error from ajax response is below

 Action Controller: Exception caught body { background-color: #fff; color: #333; }

```
body, p, ol, ul, td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}

pre {
  background-color: #eee;
  padding: 10px;

  font-size: 11px;
}

a { color: #000; }
a:visited { color: #666; }
a:hover { color: #fff; background-color:#000; }

```

# 

TypeError

```
in Admin/resourceController#script_update

```

```
can't modify frozen hash
```

`RAILS_ROOT: F:/sadeesh_recital/New Folder/classdrive/master`

```
<a href="#" onclick="document.getElementById('Framework-

```

Trace’).style.display=‘none’;document.getElementById  
(‘Full-Trace’).style.display=‘none’;document.getElementById  
(‘Application-Trace’).style.display=‘block’

;; return false;"\>Application Trace |

```
<a href="#" onclick="document.getElementById('Application-

```

Trace’).style.display=‘none’;document.getElementById

(‘Full-Trace’).style.display=‘none’;document.getElementById  
(‘Framework-  
Trace’).style.display=‘block’  
;; return false;"\>Framework Trace |

```
<a href="#" onclick="document.getElementById('Application-

```

Trace’).style.display=‘none’;document.getElementById

(‘Framework-Trace’).style.display=‘none’;document.getElementById  
(‘Full-  
Trace’).style.display=‘block’  
;; return false;"\>Full Trace

```
<div id="Application-Trace" style="display: block;">

  <pre><code>C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/

```

lib/  
active\_record/attribute\_methods  
.rb:313:in `[]=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ attribute_methods.rb:313:in`wri

te\_attribute\_without\_dirty’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
dirty.rb:139:in `write_attribute ' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ attribute_methods.rb:211:in`announcement

=’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2745:in `send' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2745:in`attributes=’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2741:in `each’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2741:in `attributes=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2627:in`update\_attribut  
es’  
F:/sadeesh\_recital/New Folder/classdrive/master/app/controllers/admin/  
resource\_controller.rb:423:in

`script\_update’

```
<div id="Framework-Trace" style="display: none;">
  <pre><code>C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/

```

lib/  
active\_record/attribute\_methods

.rb:313:in `[]=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ attribute_methods.rb:313:in`wri  
te\_attribute\_without\_dirty’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
dirty.rb:139:in `write\_attribute

’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
attribute\_methods.rb:211:in `announcement =' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2745:in`send’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2745:in `attributes=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2741:in`each’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2741:in `attributes=’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2627:in `update_attribut es' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:1322:in`send’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:1322:in `perform\_actio

n\_without\_filters’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:617:in `call_filter s' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:638:in`run\_before\_

filters’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:189:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:189:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:635:in `run\_before\_

filters’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:615:in `call_filter s' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:610:in`perform\_act

ion\_without\_benchmark’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
benchmarking.rb:68:in `perform _action_without_rescue' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ core_ext/benchmark.rb:17:in`m

s’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/  
core\_ext/benchmark.rb:10:in `r ealtime' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ core_ext/benchmark.rb:17:in`m

s’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
benchmarking.rb:68:in `perform _action_without_rescue' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ rescue.rb:160:in`perform\_acti

on\_without\_flash’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
flash.rb:141:in `perform_actio n' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:523:in`send’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:523:in `process_withou t_filters' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:606:in`process’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:391:in `process' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:386:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
routing/route\_set.rb:433:in `c

all’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:88:in `dispatch' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ dispatcher.rb:111:in`\_call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:82:in `initializ e' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ query_cache.rb:29:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
query\_cache.rb:29:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
connection\_adapters/abstract/query\_cache  
.rb:34:in `cache' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ query_cache.rb:9:in`cache’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
query\_cache.rb:28:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ connection_adapters/abstract/connection_pool .rb:361:in`call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/head.rb:9  
:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/methodoverride

.rb:24:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ params_parser.rb:15:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
rewindable\_input.rb:25:in `cal

l’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
session/cookie\_store.rb:93:in  
`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/  
cache/strategy/local\_cache.rb:24

:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ reloader.rb:9:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
failsafe.rb:11:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/lock.rb:11  
:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/lock.rb:11

:in `synchronize' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/lock.rb:11 :in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:106:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:  
31:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/urlmap.rb :46:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/urlmap.rb

:40:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/urlmap.rb :40:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/  
log\_tailer.rb:17:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/content\_length  
.rb:13:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/chunked.rb

:15:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/handler/mongrel .rb:61:in`process’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:159:in `orig\_process\_clie

nt’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:158:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:158:in`orig\_process\_clie  
nt’

F:/sadeesh\_recital/New Folder/classdrive/master/vendor/plugins/spawn/  
lib/patches.rb:59:in `process_c lient' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:285:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:285:in `initialize’

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:285:in `new' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:285:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:268:in `initialize’

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:268:in `new' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:268:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/handler/mongrel

.rb:34:in `run' C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
C:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require’

script/server:3

```
<div id="Full-Trace" style="display: none;">
  <pre><code>C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/

```

lib/  
active\_record/attribute\_methods

.rb:313:in `[]=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ attribute_methods.rb:313:in`wri  
te\_attribute\_without\_dirty’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
dirty.rb:139:in `write\_attribute

’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
attribute\_methods.rb:211:in `announcement =' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2745:in`send’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2745:in `attributes=' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ base.rb:2741:in`each’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2741:in `attributes=’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
base.rb:2627:in `update_attribut es' F:/sadeesh_recital/New Folder/classdrive/master/app/controllers/admin/ resource_controller.rb:423:in`script\_update’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:1322:in `send' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:1322:in`perform\_actio  
n\_without\_filters’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:617:in `call_filter s' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:638:in`run\_before\_  
filters’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:189:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:189:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:635:in `run\_before\_

filters’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
filters.rb:615:in `call_filter s' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:610:in`perform\_act

ion\_without\_benchmark’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
benchmarking.rb:68:in `perform _action_without_rescue' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ core_ext/benchmark.rb:17:in`m

s’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/  
core\_ext/benchmark.rb:10:in `r ealtime' C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/ core_ext/benchmark.rb:17:in`m

s’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
benchmarking.rb:68:in `perform _action_without_rescue' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ rescue.rb:160:in`perform\_acti

on\_without\_flash’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
flash.rb:141:in `perform_actio n' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:523:in`send’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:523:in `process_withou t_filters' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ filters.rb:606:in`process’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
base.rb:391:in `process' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ base.rb:386:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
routing/route\_set.rb:433:in `c

all’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:88:in `dispatch' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ dispatcher.rb:111:in`\_call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:82:in `initializ e' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ query_cache.rb:29:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
query\_cache.rb:29:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
connection\_adapters/abstract/query\_cache  
.rb:34:in `cache' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ query_cache.rb:9:in`cache’

C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/  
query\_cache.rb:28:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/ connection_adapters/abstract/connection_pool .rb:361:in`call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/head.rb:9  
:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/methodoverride

.rb:24:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ params_parser.rb:15:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
rewindable\_input.rb:25:in `cal

l’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
session/cookie\_store.rb:93:in  
`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active\_support/  
cache/strategy/local\_cache.rb:24

:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ reloader.rb:9:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
failsafe.rb:11:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/lock.rb:11  
:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/lock.rb:11

:in `synchronize' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/lock.rb:11 :in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
dispatcher.rb:106:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:  
31:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/urlmap.rb :46:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/urlmap.rb

:40:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/urlmap.rb :40:in`call’  
C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/  
log\_tailer.rb:17:in `call’

C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/content\_length  
.rb:13:in `call’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/chunked.rb

:15:in `call' C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/ vendor/rack-1.0/rack/handler/mongrel .rb:61:in`process’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:159:in `orig\_process\_clie

nt’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:158:in `each' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:158:in`orig\_process\_clie  
nt’

F:/sadeesh\_recital/New Folder/classdrive/master/vendor/plugins/spawn/  
lib/patches.rb:59:in `process_c lient' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:285:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:285:in `initialize’

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:285:in `new' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:285:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:268:in `initialize’

C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/  
mongrel.rb:268:in `new' C:/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mswin32-60/lib/ mongrel.rb:268:in`run’  
C:/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action\_controller/  
vendor/rack-1.0/rack/handler/mongrel

.rb:34:in `run' C:/Ruby/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111 C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in`gem\_original\_require’  
C:/Ruby/lib/ruby/site\_ruby/1.8/rubygems/custom\_require.rb:31:in  
`require’

script/server:3

## Request

**Parameters** :

```
{"resource"=>
{"announcement"=>"hey all&quot

;,  
"status"=\>"ACTIVE",  
"socket"=\>"LEFT",  
"style\_id"=\>"5",  
"featured"=\>"FALSE",

"description"=\>"creating calendar now… ",  
"tag\_list"=\>"good",  
"label"=\>"A Calendar",

"mode\_other"=\>"1"},  
"calendar\_filter"=\>{"search\_year"=\>"  
2009",  
"search\_month"=\>"6"},

"id"=\>"217890\_217879"}
```

\<a href="#" onclick="document.getElementById ('session\_dump').style.display='block'; return false;"

> Show session dump

---

## Response

**Headers** :

```
{"Content-Type"=>"",
 "Cache-Control"=>"no-cache"}
```
