# Form\_tag cause error on production

**URL:** <https://www.ruby-forum.com/t/form-tag-cause-error-on-production/145038>\
**Category:** Rails\
**Created:** [August 5, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/form-tag-cause-error-on-production/145038 "2008-08-05T15:04:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [August 5, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/form-tag-cause-error-on-production/145038/1 "2008-08-05T15:04:15Z")

</div>

dear, I just deployed my first rails application and it failed

when I checked the log file on the server, i got the following

ActionView::TemplateError (wrong argument type FalseClass (expected  
Proc)) on line #13 of daleel/\_top.html.erb:  
10:   
11:  
12:

  
13: \<% form\_tag :action =\> :navigate do %\>  
14:   
15: 

any idea why is it behaving like that  
on my localhost  
there is no error in development and production env

thanks

|
| |

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [August 5, 2008, 3:23pm UTC](https://www.ruby-forum.com/t/form-tag-cause-error-on-production/145038/2 "2008-08-05T15:23:02Z")

</div>

On 5 Aug 2008, at 14:03, Shuaib85 wrote:

> dear, I just deployed my first rails application and it failed
> 
> when I checked the log file on the server, i got the following

Have a look through the group archives, but I have a vague  
recollection that ruby 1.8.6 p230 does that.

Fred

---

<div class="post-metadata">

**Author:** ![shuaib85](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/bbce88/32.png) [@shuaib85](https://www.ruby-forum.com/u/shuaib85)\
**Post date:** [August 5, 2008, 5:35pm UTC](https://www.ruby-forum.com/t/form-tag-cause-error-on-production/145038/3 "2008-08-05T17:35:49Z")

</div>

Well  
I do not find any useful info on google search  
I am just wondering why the server fails on this part of the code.  
However, sometimes it works.

Strange???

On Aug 5, 9:10 pm, Frederick C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
