You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rdoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ It also annotates geometrical columns, geom type and srid, when using
44
44
# path :geometry line_string, 4326
45
45
46
46
Also, if you pass the -r option, it'll annotate routes.rb with the output of
47
-
+rake routes+.
47
+
<code>rake routes</code>.
48
48
49
49
50
50
== Install
@@ -71,7 +71,7 @@ Into environment gems from Github checkout:
71
71
72
72
== Usage
73
73
74
-
(If you used the Gemfile install, prefix the below commands with +bundle exec+.)
74
+
(If you used the Gemfile install, prefix the below commands with <code>bundle exec</code>.)
75
75
76
76
=== Usage in Rails
77
77
@@ -100,7 +100,7 @@ To remove routes.rb annotations:
100
100
101
101
annotate --routes --delete
102
102
103
-
To automatically annotate every time you run +db:migrate+, either run +rails g annotate:install+ or add +Annotate.load_tasks+ to your `Rakefile`. See the [configuration in Rails](#configuration-in-rails) section for more info.
103
+
To automatically annotate every time you run <code>db:migrate</code>, either run <code>rails g annotate:install</code> or add +Annotate.load_tasks+ to your `Rakefile`. See the [configuration in Rails](#configuration-in-rails) section for more info.
104
104
105
105
=== Usage Outside of Rails
106
106
@@ -136,7 +136,7 @@ functionality:
136
136
rake remove_annotation # Remove schema information from model and fixture files
137
137
138
138
By default, once you've generated a configuration file, annotate will be
139
-
executed whenever you run +rake db:migrate+ (but only in development mode).
139
+
executed whenever you run <code>rake db:migrate</code> (but only in development mode).
140
140
If you want to disable this behavior permanently, edit the +.rake+ file and
141
141
change:
142
142
@@ -146,7 +146,7 @@ To:
146
146
147
147
'skip_on_db_migrate' => 'true',
148
148
149
-
If you want to run +rake db:migrate+ as a one-off without running annotate,
149
+
If you want to run <code>rake db:migrate</code> as a one-off without running annotate,
150
150
you can do so with a simple environment variable, instead of editing the
0 commit comments