Marston A.
2006-May-04 08:59 UTC
[Rails] Ajas Scaffolding and RJS Templates the same thing?
Hey all, I''m just starting in rails and am working on my first app. I need to do inline editing for 2-15 rows of data on a page. I found Ajax Scaffolding here: http://www.ajaxscaffold.com/ And it is EXACTLY what I want in my app. But I''ve also been trying to read a bit up on RJS Templates. Are they basically the same things except RJS is built into rails or is the Ajax scaffolding just built from the RJS templates? I''m wondering if I should just try and implement what I need with ajaxscaffold or if it would be better/easier for me to built it with RJS templates (which I don''t know much about as of yet). Thanks for any advice. -- Posted via http://www.ruby-forum.com/.
Joe Clarke
2006-May-05 01:18 UTC
[Rails] Ajas Scaffolding and RJS Templates the same thing?
The AjaxScaffold generator allows you to quickly generate an application based on your current database. You will then need to take what it generates and customize it to fit your needs. This will actually generate the RJS files for you. Using the generator may speed things up for you and help you learn how to use RJS. -- Joe Clarke RailsPlayground.com On 5/4/06, Marston A. <marston@marstononline.com> wrote:> Hey all, > > I''m just starting in rails and am working on my first app. I need to do > inline editing for 2-15 rows of data on a page. I found Ajax > Scaffolding here: > > http://www.ajaxscaffold.com/ > > And it is EXACTLY what I want in my app. But I''ve also been trying to > read a bit up on RJS Templates. Are they basically the same things > except RJS is built into rails or is the Ajax scaffolding just built > from the RJS templates? > > I''m wondering if I should just try and implement what I need with > ajaxscaffold or if it would be better/easier for me to built it with RJS > templates (which I don''t know much about as of yet). Thanks for any > advice. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >