aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-03-24 15:59:33 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-03-24 16:00:54 +0900
commit9a5d4288c59686af4acc8b3de7cb3283c5f5974c (patch)
tree22fe69b64c97b35019f751143bb3451f7c975e24 /guides
parenta2bb6720fd5091d95aa8539ddf63386dcfb8feee (diff)
downloadrails-9a5d4288c59686af4acc8b3de7cb3283c5f5974c.tar.gz
rails-9a5d4288c59686af4acc8b3de7cb3283c5f5974c.tar.bz2
rails-9a5d4288c59686af4acc8b3de7cb3283c5f5974c.zip
s/app\/model\//app\/models\//g
Diffstat (limited to 'guides')
-rw-r--r--guides/source/command_line.md8
-rw-r--r--guides/source/migrations.md4
2 files changed, 6 insertions, 6 deletions
diff --git a/guides/source/command_line.md b/guides/source/command_line.md
index 7669b5edeb..4711186522 100644
--- a/guides/source/command_line.md
+++ b/guides/source/command_line.md
@@ -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
diff --git a/guides/source/migrations.md b/guides/source/migrations.md
index bd63970bea..086cf434d9 100644
--- a/guides/source/migrations.md
+++ b/guides/source/migrations.md
@@ -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