Hi there, I just installed the plugin following the simple steps at http://blog.caronsoftware.com/articles/category/ajax-scaffold-plugin But when I point my browser to any controller, it does not display anything (no ajax tables, nothing, my pages look just like before). I added this to my item_controller.rb: ajax_scaffold :item Then I put this into application.rhtml (the main layout displayed on all the pages) <%= ajax_scaffold_includes %> I go to http://localhost:3000/item/ And all I see is the old list page.... (I tried renaming the old list.rhtml but then RoR only says ''Missing template'' Thanks a lot! -- 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 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 -~----------~----~----~----~------~----~------~--~---
Victor escribió:> Hi there, > I just installed the plugin following the simple steps at > http://blog.caronsoftware.com/articles/category/ajax-scaffold-plugin > > But when I point my browser to any controller, it does not display > anything (no ajax tables, nothing, my pages look just like before). > > I added this to my item_controller.rb: >The controller name should be name items_controller.rb, remember the "s"> ajax_scaffold :item > > Then I put this into application.rhtml (the main layout displayed on > all the pages) > <%= ajax_scaffold_includes %> > > I go to > http://localhost:3000/item/ >Here iqual, items> And all I see is the old list page.... > (I tried renaming the old list.rhtml but then RoR only says ''Missing > template'' > > Thanks a lot! > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Victor, did you try stopping and restarting your server after installing the plugin and changing your code? You won''t see the changes till you start a new server session. Shauna -- 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 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 -~----------~----~----~----~------~----~------~--~---