Open seixasfelipe opened 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?
@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?
One doubt... We'll use order
instead service_order
, correct?
I think we need a model diagram so we don't get confused =)
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 :)
@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:
We're half way on this milestone =)
Oh yeah @fraga. I'm a little busy this week, but I'll try solve it until weekend.
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