# Inline RJS ActionControllerException: "stack level too deep"

**URL:** <https://www.ruby-forum.com/t/inline-rjs-actioncontrollerexception-stack-level-too-deep/188942>\
**Category:** Rails\
**Created:** [May 20, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/inline-rjs-actioncontrollerexception-stack-level-too-deep/188942 "2010-05-20T21:37:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lille](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/f4b2a3/32.png) [@Lille](https://www.ruby-forum.com/u/Lille)\
**Post date:** [May 20, 2010, 9:37pm UTC](https://www.ruby-forum.com/t/inline-rjs-actioncontrollerexception-stack-level-too-deep/188942/1 "2010-05-20T21:37:25Z")

</div>

Hi,

I get a ActionControllerException: “stack level too deep” when I  
attempt inline RJS like this:

\<%=observe\_field(“loan\_term”, :function =\> update\_page { |page|  
page[:max\_term\_in\_yrs].insert\_html(page[:loan\_term].value/12); })%\>

What am I missing – where’s the wind?

Thanks,

Lille
