hello, it sems that my restful Ajax.Request breaks when i upload it to my server, but works fine when i use it on my local machine. specifically on a create (http://myhost.com/posts, method="post") it tries to get posts/index. like it can''t see the rest or something. it''s very troubling. i''ve tried it on several remote servers and they all give me problems. using firfox, which historically works well with prototype. anyone seen this? is it a bug? thanks... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
i had the same problem when i uploaded mine to dreamhost. mine was only with the create restful link too. ie. posts_url, :method => :post would go to posts/index but new_post_url would go to posts/ new as it should. it was a pain and i needed a quick fix so i reverted to the standard controller action urls and it worked fine. i''ve had no response as to whether this is a bug or some kind of remoting javascript/ajax security thing but their must be a work around. people do use restful ajax. right? let me know if you figure it out. On Apr 17, 10:09 am, plewizard <somethingnoonehasthough...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> hello, > it sems that my restful Ajax.Request breaks when i upload it to my > server, but works fine when i use it on my local machine. > specifically on a create (http://myhost.com/posts, method="post") it > tries to get posts/index. like it can''t see the rest or something. > it''s very troubling. i''ve tried it on several remote servers and they > all give me problems. using firfox, which historically works well > with prototype. > > anyone seen this? is it a bug? > > thanks...--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
On 19 Apr 2007, at 08:08, plewizard wrote:> i had the same problem when i uploaded mine to dreamhost. mine was > only with the create restful link too. ie. posts_url, :method > => :post would go to posts/index but new_post_url would go to posts/ > new as it should. it was a pain and i needed a quick fix so i > reverted to the standard controller action urls and it worked fine. > > i''ve had no response as to whether this is a bug or some kind of > remoting javascript/ajax security thing but their must be a work > around. people do use restful ajax. right?I''m using it all the time, but on a dedicated server, guess it''s dreamhost related in some way. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---