We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 717c599 + 2e11694 commit 18ae56aCopy full SHA for 18ae56a
railties/lib/rails/api/task.rb
@@ -150,8 +150,8 @@ def configure_rdoc_files
150
151
# Only generate documentation for files that have been
152
# changed since the API was generated.
153
- if Dir.exist?("doc/rdoc") && !ENV["ALL"]
154
- last_generation = DateTime.rfc2822(File.open("doc/rdoc/created.rid", &:readline))
+ if Dir.exist?(api_dir) && !ENV["ALL"]
+ last_generation = DateTime.rfc2822(File.open("#{api_dir}/created.rid", &:readline))
155
156
rdoc_files.keep_if do |file|
157
File.mtime(file).to_datetime > last_generation
0 commit comments