aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-01 21:48:46 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-01 21:48:46 -0800
commit77306550737b2dd7cecf628c50951b2d75ef2e31 (patch)
tree06604e9895df0136a90238e881623f9b1534376a /railties/lib
parentdf1484ced51646624c8c602f5a00d6e906c5ca1b (diff)
parent553b563749517114323b4e8742509227e0daab67 (diff)
downloadrails-77306550737b2dd7cecf628c50951b2d75ef2e31.tar.gz
rails-77306550737b2dd7cecf628c50951b2d75ef2e31.tar.bz2
rails-77306550737b2dd7cecf628c50951b2d75ef2e31.zip
Merge pull request #8394 from acangiano/add_db_folder_to_annotations
Add db to the list of default annotation folders
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/source_annotation_extractor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/source_annotation_extractor.rb b/railties/lib/rails/source_annotation_extractor.rb
index 3474b02af4..ac806e8006 100644
--- a/railties/lib/rails/source_annotation_extractor.rb
+++ b/railties/lib/rails/source_annotation_extractor.rb
@@ -15,7 +15,7 @@
class SourceAnnotationExtractor
class Annotation < Struct.new(:line, :tag, :text)
def self.directories
- @@directories ||= %w(app config lib script test) + (ENV['SOURCE_ANNOTATION_DIRECTORIES'] || '').split(',')
+ @@directories ||= %w(app config db lib script test) + (ENV['SOURCE_ANNOTATION_DIRECTORIES'] || '').split(',')
end
# Returns a representation of the annotation that looks like this: