seixasfelipe / cleaners

Cleaners - Management Application
MIT License
2 stars 0 forks source link

Service CRUD #19

Open seixasfelipe opened 11 years ago

seixasfelipe commented 11 years ago

A Service is a job that will be done by our cleaning team, it is actually what we sell to people, that's our core business.

When someone wants his car cleaned, he comes to our cleaner area with his car, choose what kind of tasks we must do ( basic wash and use wax for instance) and pay for the service.

Thus, the service is composed by:

For reference see: public/layout/servicos-todos.html

fraga commented 11 years ago

Guys I'm really noob on this so I am generating controllers and models by hand, I mean, not using scaffold, is this correct?

fabianoalmeida commented 11 years ago

@fraga it's correct. You could used scaffold without problem. I defined on application.rb configurations to generate only files we really use to build the application, when run rails generate scaffold .... Test it and see the result.

By the way, we defined here #15 that we'll consider use ServiceBundle and ServiceOrder, right? If I'm correct, why did you create a model with Service name?

fabianoalmeida commented 11 years ago

One doubt... We'll use order instead service_order, correct?

fraga commented 11 years ago

I think we need a model diagram so we don't get confused =)

seixasfelipe commented 11 years ago

Yes @fabianoalmeida, using order I think was the original idea when we decided to change task to item. But if it is better use service_order let's refactor and go on :)

fabianoalmeida commented 11 years ago

@seixasfelipe no, I'm ok with order, no problem. I'll take a look at the app and change the view to support all items in this issue and lastly close it. :pray:

fraga commented 11 years ago

We're half way on this milestone =)

fabianoalmeida commented 11 years ago

Oh yeah @fraga. I'm a little busy this week, but I'll try solve it until weekend.