# Not existing website

**URL:** <https://www.ruby-forum.com/t/not-existing-website/140046>\
**Category:** Rails\
**Created:** [June 10, 2008, 11:53am UTC](https://www.ruby-forum.com/t/not-existing-website/140046 "2008-06-10T11:53:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dimitar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aca169/32.png) [@dimitar](https://www.ruby-forum.com/u/dimitar)\
**Post date:** [June 10, 2008, 11:53am UTC](https://www.ruby-forum.com/t/not-existing-website/140046/1 "2008-06-10T11:53:58Z")

</div>

Hello, I’ve got the following problem, I hope someone can help me.

The following code doesn’t work properly:

\<% form\_for :loesungen, @loesungen, :url =\> {:controller =\> ‘spiel’,  
:action =\> ‘loesung\_auswerten’}, :html =\> { :onsubmit =\> “return  
istFertig(this)”} do |f| %\>

loesungen is an array of models.  
loesung\_auswerten is a function in the spiel\_controller.  
The problem is, the program should enter the function  
‘loesung\_auswerten’, but it doesn’t. Instead, it tries to show a  
webpage, called ‘loesung\_auswerten’ and says, that the page doesn’t  
exist.  
Sorry, if I explained it too unclearly, hope someone has an idea what  
could be wrong…

---

<div class="post-metadata">

**Author:** ![dimitar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aca169/32.png) [@dimitar](https://www.ruby-forum.com/u/dimitar)\
**Post date:** [June 10, 2008, 12:04pm UTC](https://www.ruby-forum.com/t/not-existing-website/140046/2 "2008-06-10T12:04:18Z")

</div>

On 10 Jun 2008, at 10:53, Dimitar Ganchev wrote:

> loesung\_auswerten is a function in the spiel\_controller.  
> The problem is, the program should enter the function  
> ‘loesung\_auswerten’, but it doesn’t. Instead, it tries to show a  
> webpage, called ‘loesung\_auswerten’ and says, that the page doesn’t  
> exist.  
> Sorry, if I explained it too unclearly, hope someone has an idea what  
> could be wrong…  
> what’s the generated html ?

Fred

---

<div class="post-metadata">

**Author:** ![dimitar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aca169/32.png) [@dimitar](https://www.ruby-forum.com/u/dimitar)\
**Post date:** [June 10, 2008, 12:16pm UTC](https://www.ruby-forum.com/t/not-existing-website/140046/3 "2008-06-10T12:16:37Z")

</div>

Frederick C. wrote:

> what’s the generated html ?
> 
> Fred

What do you mean by generated html?

It just says: HTTP 500  
The website cannot display the page

---

<div class="post-metadata">

**Author:** ![dimitar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/aca169/32.png) [@dimitar](https://www.ruby-forum.com/u/dimitar)\
**Post date:** [June 10, 2008, 12:28pm UTC](https://www.ruby-forum.com/t/not-existing-website/140046/4 "2008-06-10T12:28:28Z")

</div>

On 10 Jun 2008, at 11:16, Dimitar Ganchev wrote:

> Frederick C. wrote:
> 
> > what’s the generated html ?
> > 
> > Fred
> 
> What do you mean by generated html?  
> From your description of the problem it sounded like submitting the  
> form is the problem, so the html for that form might be informative.  
> also check your routes

Fred
