Hi,

--- On Thu, Jun 11, 2009 at 6:31 PM, Arulalan T<[email protected]> wrote:
| This example also covers of how to use active records in ruby.
|
| more at http://comboboxentry-glade-ruby.blogspot.com/
\--

#01 Did you create a blogspot just for this post?

#02 "Using this Chained Selection program , we are developing a school
management application with following scenerio ."

If you want to do a full-fledged application, use Rails making it
web-based. If you use Rails, controller, view, and model will be
separated neatly, as opposed to your current code.

#03 What editor are you using? Please check your code indentation.

#04 " :username => "root",
         :password =>"password",

Never check-in code with login details. Use Capistrano [1] for
deployment and you can provide the details there.

#05 create database “ country” in your mysql by excuting this query
      “mysql > create database country; “

All this should be automated using rake tasks. Don't ask the
administrator or other developers to do these manually.

#06 Also inculcate the practice of writing Ruby test cases as you develop code.

SK

[1] Capistrano. http://www.capify.org/

-- 
Shakthi Kannan
http://www.shakthimaan.com
_______________________________________________
To unsubscribe, email [email protected] with
"unsubscribe <password> <address>"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to