Monday, October 3, 2011

Replacing tabs with spaces, finding the user view

I got a bunch of questions, so I figured that I'd just write one large e-mail.

1 - When I ran "cake bake all" and had the bakery do its thing, _all_ of my files had tabs as opposed to spaces.  Our coding standard in my company is to use 4 spaces as opposed to tabs.  How do I make it 4 spaces and not a tab by default?



2 - I probably skipped over something or misread it, but when I was going through the CakePHP tutorial and got to this spot:


I realized that I don't have a User model.  Would I just make something quick like this?

<?php
class User extends AppModel {
var $name = 'User';
}
?>

Kinda lost here :-) .



I appreciate the help that you guys provide with me learning how to use CakePHP.  I'm just wrapping my head around this thing while working on a deadline (long story).

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: