search for: debitcard

Displaying 1 result from an estimated 1 matches for "debitcard".

Did you mean: debit_card
2006 Feb 07
3
model and controller organization
...ers. I want to organize this stuff into logical directories ... like I used to do in Java (using the package declaration). I am interesting in learning how RoR handles this seemingly common situation and also what are best practices using Ruby in general. Using ./script/generate model stuff/DebitCard creates: app/models/stuff/debit_card.rb (sweet!) However, using the generate script yields confusing results: ./script/generate scaffold stuff/Card admin/Banking debit credit creates: app/models/card.rb and app/controllers/admin/ banking_controller.rb (the controller is in a sub dir called admin,...