[dgplug-users] [Tax calculation RoR] @yevlempy, @chandana
Shakthi Kannan
shakthimaan at gmail.com
Fri Oct 9 09:23:56 PDT 2009
Hi,
--- On Fri, Oct 9, 2009 at 4:37 PM, chandana boral
<chandana.boral at gmail.com> wrote:
| We have added the basic Rails repo to my remote clones.We were going slow
| because yevlempy was not in good health for a short amount of time,and now
| as he is fine we are set to work regularly again, but i have a problem of
| improper internet connection at my place as i reside in hostel and we dont
| have one their.So i am kind of absent online.But will try by best to be
| there.Now we will try and commit regularly.
\--
No problem. Thanks for the information.
---
| What are the improvements we need
| to make in the code we have added to my clone.
\--
* You shouldn't put your code inside a cal/ folder. Your top-level
sources should contain the app/ config/ db/ doc/ ... directories.
Please fix it
* I didn't want you to write View, Controller, but, only do the Model
stuff, and you wrote everything. Never mind. We will first work on the
Model (database) only.
Please go through:
http://guides.rubyonrails.org/association_basics.html
I would like you to come up with a diagrammatic representation of
one-to-one, or one-to-many, or many-to-many relationship between the
various tables mentioned here:
http://shakthimaan.com/downloads/notes/tax-calculation.txt
For example, employee has many A. Taxable incomes (every year), so
that is a one-to-many relationship. Employee table has many B. Others
table (every year). If you can make a diagram with Dia that will be
good too.
If there are any database gurus on this list, they will help us with
the database relationships, when you are done.
SK
--
Shakthi Kannan
http://www.shakthimaan.com
More information about the Users
mailing list