Skip to content

Commit

Permalink
updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
brantwedel committed Mar 17, 2014
1 parent 55232d1 commit 5f78ef7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project rocks and uses MIT-LICENSE.

```
rake yaddl:models
rake yaddl:migrations
```

### Example Input
Expand All @@ -20,7 +21,7 @@ TestModel(name:string)
### Output

/app/models/test_model.rb
```
```ruby
class TestModel < ActiveRecord::Base
has_many :related_models, dependent: :destroy

Expand All @@ -37,7 +38,7 @@ end
```

/app/models/related_model.rb
```
```ruby
class RelatedModel < ActiveRecord::Base
belongs_to :test_model

Expand Down

0 comments on commit 5f78ef7

Please sign in to comment.