here is the scenario:

i have a form ( with couple of simple validations ) for the new action:

<% form_for :classified, @classified, :url=>{
:controller=>'classifieds', :action=>'create'}, :html => { :multipart =>
true } do |f| %>
<%= error_messages_for 'classified' %>

<%= submit_tag 'Post' %>
<% end %>

when I click submit button without entering anything, it triggers
validation and comes back with necessary error messages on all browsers.
The view source html on firefox, ie displays

<form action="/classifieds" enctype="multipart/form-data" method="post">

However, in google chrome, it shows an exception saying that index
action not found -- here it is.

<h1>Unknown action</h1>
<p>No action responded to index. Actions: create, delete, edit, new,
show, simple_captcha_valid?, and update</p>

IE and firefox do not show this error.

Am I doing anything wrong? or is it a Chrome issue?

Any help is much appreciated.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to