Ed Hickey wrote:
> On 1/23/07, Adam Madd <[email protected]> wrote:
>> > Tim
> I can't get that to work for me. I 've been using the :html hash for
> passing the PUT method as a hidden field. I've found this method in the
> Beast forum and it seems to work. Though, it does seem like you should
> be
> able to pass the :method param and have it override POST.
>
> Anyone else have experience with this?
>
> Ed
I was having a similar problem and in the end it was because
prototype.js wasn't loading and it was sending the form request as GET
instead of POST (or pseudo PUT depends on how you want to think about
it)
in my .htaccess I added this rule
RewriteCond %{REQUEST_URI} ^/javascripts.*
RewriteRule .* - [L]
Which allowed prototype.js to load and it worked.
Hope this helps someone!
--
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
-~----------~----~----~----~------~----~------~--~---