[Ilugc] Fwd: Tutorial On Glade3 - Ruby

  • From: shakthimaan@xxxxxxxxx (Shakthi Kannan)
  • Date: Thu Jun 11 19:08:49 2009

Hi,

--- On Thu, Jun 11, 2009 at 6:31 PM, Arulalan T<tarulalan@xxxxxxxxx> 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

Other related posts: