Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove line causing uninitialized constant Sprockets::Helpers #1341

Closed
wants to merge 1 commit into from

1 participant

@lardawge

As far as I can tell this is not needed. Running the task with the original
line, ActionView::Helpers::SprocketsHelper, does nothing different to the final output.
Whatever the case, I could find nowhere that Sprockets::Helpers is defined.

Other option is to revert 9701014

@josh can you shed some light on this?

@lardawge lardawge Remove line causing uninitialized constant Sprockets::Helpers
As far as I can tell this is not needed. Running the task with the original
line, ActionView::Helpers::SprocketsHelper, does nothing different to the final output.
Whatever the case, I could find nowhere that Sprockets::Helpers is defined.

Other option is to revert 9701014
a66043a
@lardawge

Looks like this is happening because of an inconsistant state between master and 3-1-stable. Particularly actionpack/lib/sprockets/helpers which doesn't exist in 3-1-stable. Still questionable if it is actually needed.

@lardawge

This is actually only happening in rails 3-1-stable...

@lardawge lardawge closed this
@jake3030 jake3030 referenced this pull request from a commit in jake3030/rails
@rmanalan rmanalan auto_link view helper was failing on URLs with colons after a query p…
…aram

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#1341 state:committed]
d3ec1d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 26, 2011
  1. @lardawge

    Remove line causing uninitialized constant Sprockets::Helpers

    lardawge authored
    As far as I can tell this is not needed. Running the task with the original
    line, ActionView::Helpers::SprocketsHelper, does nothing different to the final output.
    Whatever the case, I could find nowhere that Sprockets::Helpers is defined.
    
    Other option is to revert 9701014
This page is out of date. Refresh to see the latest.
Showing with 0 additions and 2 deletions.
  1. +0 −2  railties/lib/rails/tasks/assets.rake
View
2  railties/lib/rails/tasks/assets.rake
@@ -1,8 +1,6 @@
namespace :assets do
desc "Compile all the assets named in config.assets.precompile"
task :precompile => :environment do
- # Give assets access to asset_path
- Sprockets::Helpers::RailsHelper
assets = Rails.application.config.assets.precompile
Rails.application.assets.precompile(*assets)
Something went wrong with that request. Please try again.