Skip to content

Commit

Permalink
Clarify model location.
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed May 28, 2013
1 parent 3b470bf commit c7fb64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quick.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ If you wish to rollback a migration, you may issue the `migrate:rollback` comman

Laravel ships with a superb ORM, Eloquent. If you have used the Ruby on Rails framework, you will find Eloquent familiar, as it follows the ActiveRecord ORM style of database interaction.

First, let's define a model. An Eloquent model can be used to query an associated database table, as well as represent a given row within that table. Don't worry, it will all make sense soon! Models are typically stored in the `app/models` directory. Let's define a `User.php` model like so:
First, let's define a model. An Eloquent model can be used to query an associated database table, as well as represent a given row within that table. Don't worry, it will all make sense soon! Models are typically stored in the `app/models` directory. Let's define a `User.php` model in that directory like so:

class User extends Eloquent {}

Expand Down

0 comments on commit c7fb64d

Please sign in to comment.