search for: assetpath

Displaying 2 results from an estimated 2 matches for "assetpath".

Did you mean: asset_path
2012 Sep 28
0
Overriding class_attribute writers and order of super/extend C.M./included block eval in ActiveSupport::Concern
...@_included_block") And there are classes like this that only benefit from the dependency handling and included block class_eval part of Concern that maybe could benefit from that being split up somehow?: actionpack/lib/abstract_controller/asset_paths.rb: module AbstractController module AssetPaths #:nodoc: extend ActiveSupport::Concern included do config_accessor :asset_host, :asset_path, :assets_dir, :javascripts_dir, :stylesheets_dir, :default_asset_host_protocol, :relative_url_root end end end Sorry if this is an uninformed way of looking at it. I guess if...
2009 Nov 23
0
passenger 2.2.7 uses config.ru but starts in development environment
...in development environment. I tried to set "RailsEnv production", "RackEnv production" at my httpd.conf, but this dont work. So, maybe somenthing wrong with my config.ru? #!/usr/bin/env rackup -p3000 require "config/environment" use Rails::Rack::LogTailer use Rack::AssetPath # <- my own middleware use Rails::Rack::Static run ActionController::Dispatcher.new What is wrong? Where can i read about customizing config.ru for production environments? Thank you -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...