diff options
author | Brian D. Burns <burns@iosctr.com> | 2013-01-15 13:56:10 -0500 |
---|---|---|
committer | Brian D. Burns <burns@iosctr.com> | 2013-01-15 14:14:05 -0500 |
commit | 5a9b3b7a74e5b284312d69c8fd7a6fd3167f6dad (patch) | |
tree | b471bd95a0f6a05dd4d5efe1459415709c37e436 /railties/CHANGELOG.md | |
parent | 7fff04f4e8a5fcb8081adeeb81bbd7f866ac07ee (diff) | |
download | rails-5a9b3b7a74e5b284312d69c8fd7a6fd3167f6dad.tar.gz rails-5a9b3b7a74e5b284312d69c8fd7a6fd3167f6dad.tar.bz2 rails-5a9b3b7a74e5b284312d69c8fd7a6fd3167f6dad.zip |
allow :dirs option for .enumerate
Allows custom rake tasks to be defined using:
SourceAnnotationExtractor.enumerate 'TODO|FIXME', dirs: %w(app lib), tag: true
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 4fd1a2369f..4f18f4cdd2 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,5 +1,11 @@ ## Rails 4.0.0 (unreleased) ## +* Allow a `:dirs` key in the `SourceAnnotationExtractor.enumerate` options + to explicitly set the directories to be traversed so it's easier to define + custom rake tasks. + + *Brian D. Burns* + * Deprecate `Rails::Generators::ActiveModel#update_attributes` in favor of `#update`. ORMs that implement `Generators::ActiveModel#update_attributes` should change |