I really need some help using RJS. http://ip:3000/thoughts/log.rjs or http://ip:3000/thoughts/log.js give me a No route matches "/thoughts/log.rjs" with {:method=>get} log.rjs and log.js are both in the thoughts view routes.rb is map.connect '':controller/:action/:id'' map.connect '':controller/:action/:id.:format'' --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anyone? Do I need to create a mime type for .rjs ? On May 3, 10:29 pm, OhMyRuby <rashan...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I really need some help using RJS. > > http://ip:3000/thoughts/log.rjs orhttp://ip:3000/thoughts/log.js > > give me a No route matches "/thoughts/log.rjs" with {:method=>get} > > log.rjs and log.js are both in the thoughts view > > routes.rb is > > map.connect '':controller/:action/:id'' > map.connect '':controller/:action/:id.:format''--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
is thoughts a controller? On Sat, May 3, 2008 at 11:29 PM, OhMyRuby <rashantha-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I really need some help using RJS. > > http://ip:3000/thoughts/log.rjs or > http://ip:3000/thoughts/log.js > > give me a No route matches "/thoughts/log.rjs" with {:method=>get} > > log.rjs and log.js are both in the thoughts view > > routes.rb is > > map.connect '':controller/:action/:id'' > map.connect '':controller/:action/:id.:format'' > > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---