Created
November 12, 2014 11:40
-
-
Save styx/43a44e1b536ddf7c76bd to your computer and use it in GitHub Desktop.
Assets in Rails console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.assets.find_asset('mail.css').body | |
include Sprockets::Helpers::RailsHelper | |
include Sprockets::Helpers::IsolatedHelper | |
include ActionView::Helpers::AssetTagHelper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment