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.
1 parent 82b3eef commit 4b63796Copy full SHA for 4b63796
Rakefile
@@ -23,7 +23,7 @@ end
23
desc 'Generate and build documentation for older versions of Rails'
24
task :build_multi, [:versions] do |_t, args|
25
rails_versions = config['rails_versions'].reverse_each.to_h # Versions from oldest to newest
26
- if args[:versions].is_a?(String)
+ unless args[:versions].nil?
27
versions = args[:versions].split(',')
28
rails_versions.select! { |version, _| versions.include?(version) }
29
end
0 commit comments