1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

s/app\/model\//app\/models\//g

This commit is contained in:
Akira Matsuda 2013-03-24 15:59:33 +09:00
parent a2bb6720fd
commit 9a5d4288c5
2 changed files with 6 additions and 6 deletions

View file

@ -414,7 +414,7 @@ app/controllers/admin/users_controller.rb:
* [ 20] [TODO] any other way to do this?
* [132] [FIXME] high priority for next deploy
app/model/school.rb:
app/models/school.rb:
* [ 13] [OPTIMIZE] refactor this code to make it faster
* [ 17] [FIXME]
```
@ -427,7 +427,7 @@ $ rake notes:fixme
app/controllers/admin/users_controller.rb:
* [132] high priority for next deploy
app/model/school.rb:
app/models/school.rb:
* [ 17]
```
@ -436,7 +436,7 @@ You can also use custom annotations in your code and list them using `rake notes
```bash
$ rake notes:custom ANNOTATION=BUG
(in /home/foobar/commandsapp)
app/model/post.rb:
app/models/post.rb:
* [ 23] Have to fix this one before pushing!
```
@ -448,7 +448,7 @@ By default, `rake notes` will look in the `app`, `config`, `lib`, `bin` and `tes
$ export SOURCE_ANNOTATION_DIRECTORIES='rspec,vendor'
$ rake notes
(in /home/foobar/commandsapp)
app/model/user.rb:
app/models/user.rb:
* [ 35] [FIXME] User should have a subscription at this point
rspec/model/user_spec.rb:
* [122] [TODO] Verify the user that has a subscription works

View file

@ -831,7 +831,7 @@ end
```
```ruby
# app/model/product.rb
# app/models/product.rb
class Product < ActiveRecord::Base
validates :flag, presence: true
@ -856,7 +856,7 @@ end
```
```ruby
# app/model/product.rb
# app/models/product.rb
class Product < ActiveRecord::Base
validates :flag, :fuzz, presence: true