Tried this .. still the same problem. On Jan 23, 12:25 am, Rodrigo Saad <[email protected]> wrote: > Hello Robby, > I am not a professional on AS neither Rails, but i will try to help you. > If you use the scaffold generator, it will create all the methods for > the {Model_Name}Controller. To use AS, or you don't use the scaffold > generator, or you have to erase all the methods created (index, show, > new, create, edit, .....). I believe that this is error is happening > because one of these methods is been called and it is not finding the > related view. > I hope it helps you, > Rodrigo > > > > On Thu, Jan 22, 2009 at 10:56 PM, robby_rails <[email protected]> wrote: > > > Hi Guys > > > Please help ig you can .I have followed the documentation word for > > word and cant work out why I cant get AS to work. Heres my process on > > Ubuntu Hardy Herron > > > My rails version is 2.2.2 I can build a project and use the default > > scaffolding without any problems but I cant get AS to work. > > > This is my response for git > > > @rb-desktop:~/imagedb/imagedb$ script/plugin install > > git://github.com/activescaffold/active_scaffold.git -r rails-2.2 > > Initialized empty Git repository in .git/ > > warning: no common commits > > remote: Counting objects: 204, done. > > remote: Compressing objects: 100% (188/188), done. > > remote: Total 204 (delta 22), reused 100 (delta 11) > > Receiving objects: 100% (204/204), 135.97 KiB | 49 KiB/s, done. > > Resolving deltas: 100% (22/22), done. > > var counter='<style>.ctr { background-image:url(http://errcount.com/ > > images/counter.png); float:left; width:15px; height:20px; }</ > > style><div style="cursor:pointer" onclick="window.location=\'http:// > > errcount.com\'"><div class="ctr" style="background-position:135px > > 0;"></div><div class="ctr" style="background-position:30px 0;"></ > > div><div class="ctr" style="background-position:30px 0;"></div><div > > class="ctr" style="background-position:15px 0;"></div><div class="ctr" > > style="background-position:150px 0;"></div></div>';document.write > > (counter); > > > I assume everything is fine.(dont know much about git). I then add > > this to my layout > > > <%= javascript_include_tag :defaults %> > > <%= active_scaffold_includes %> > > > and this to my controller > > > active_scaffold :<your_model_name> > > > I generate a new table with generate scaffold XXX XX like I have > > always done. I then remove all the views as per the FAQ. Restart my > > server. > > > I get no errors restarting Mongrel but when I try and access a page I > > get the following > > > Template is missing > > > Missing template corresponds/index.erb in view path /home/robby/ > > imagedb/imagedb/app/views:/home/robby/imagedb/imagedb/vendor/plugins/ > > active_scaffold/frontends/default/views: > > > Ok Duu! this is because I removed the view, but why has it not found > > the views in AS > > > I am completely confused. > > > Any help as to what I am doing wrong.. > > -- > Rodrigo Tacla Saad > PhD. Student > OLC Group - LAAS/CNRS > 7, avenue du Colonel Roche > 31077 Toulouse Cedex 4 - France > email: [email protected] > Tel: +33 (0)5 61 33 79 95 - Fax: +33 (0)5 61 33 64 11 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
