ajax_scaffold_generator

Hi all!!
Ok getting start the tutorial with wonderful plugin which is called Ajax Scaffold Generator.

Basically, Rails Scaffolding never generates the Ajax based interface. However, this plugin gives you the comfortable user interface. This time, try to create the very very simple user management system. Please, follow the simple instruction below to create the application!!

CREATE DATABASE AND TABLES

DATABASE: rails_demo1
TABLE   : users*
 

*"users" table should contain the username and password field and put more features if you want!!

5 Steps to be happy!!

  1. #Creating project skelton
  2. $ rails devils_demo1
  3. #Creating Model
  4. $ ruby script/generate model User
  5. #Installing Ajax Scaffold Generator
  6. $ gem install ajax_scaffold_generator
  7. #Creating Ajax Scaffolding
  8. $ ruby script/generate ajax_scaffold admin User
  9. #launch Web server and Confirm!!
  10. $ ruby script/server

check and play with your application with following URL
http://localhost:3000/admin/
Oh... this time there is no Ruby code(T3T)!! However fair enough!!
Ok, next time we can start the real Ajax tutorial with Rails!!
See you next week!! Bye-bye!!

Syndicate content