Skip to content
This repository

Warnings removed when running with 1.9.3 #3266

Merged
merged 1 commit into from almost 3 years ago

2 participants

Arun Agrawal Santiago Pastorino
Arun Agrawal
Collaborator

Ok so here some more warnings removed.

Santiago Pastorino spastorino merged commit 1774ec7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Oct 09, 2011
Arun Agrawal arunagw Warnings removed when running with 1.9.3 ca219a2
This page is out of date. Refresh to see the latest.
2  actionpack/lib/sprockets/assets.rake
@@ -6,7 +6,7 @@ namespace :assets do
6 6 groups = ENV['RAILS_GROUPS'] || 'assets'
7 7 args = [$0, task,"RAILS_ENV=#{env}","RAILS_GROUPS=#{groups}"]
8 8 args << "--trace" if Rake.application.options.trace
9   - ruby *args
  9 + ruby(*args)
10 10 end
11 11
12 12 # We are currently running with no explicit bundler group
2  railties/lib/rails/generators/resource_helpers.rb
@@ -65,7 +65,7 @@ def orm_class
65 65
66 66 begin
67 67 "#{options[:orm].to_s.classify}::Generators::ActiveModel".constantize
68   - rescue NameError => e
  68 + rescue NameError
69 69 Rails::Generators::ActiveModel
70 70 end
71 71 end
2  railties/test/generators/assets_generator_test.rb
@@ -13,7 +13,7 @@ def test_assets
13 13 end
14 14
15 15 def test_skipping_assets
16   - content = run_generator ["posts", "--no-stylesheets", "--no-javascripts"]
  16 + run_generator ["posts", "--no-stylesheets", "--no-javascripts"]
17 17 assert_no_file "app/assets/javascripts/posts.js"
18 18 assert_no_file "app/assets/stylesheets/posts.css"
19 19 end

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.