My production asset_host config looks like this: config.action_controller.asset_host = Proc.new { |source, request|
My understanding of new Rails 3.1 asset pipeline in production mode is as follows:-> config.action_controller.asset_host = \"https://mybucket.s3.amazonaws.com\"
If I wrap my SSL required routes in a block like this: scope :protocol => \"https://\", :constraints => { :protocol =>
Hey guys so I\'m trying to construct some json based on a form submission. My json needs to be something like this (truncated for simplicity):
Trying to get the hang of deploying a rails 3.1 App ... Based on what I\'ve read, I\'ve put the following code in my deploy.rb:
I have an application I am upgrading to 3.1 from Rails 3.0.9.But, I am getting a syntax error or something.It reads:
For the most part I\'ve followed the direction laid out here Which is resulted in the following error coming from the initializer it asked me to create:
I created simple scaffold, it has the destroy method with respond_to do |format| format.html { redirect_to :action => \"index\", :status => 302}
For a Rails 3.1 app, some of my site wide JavaScript is only included when certain real time,开发者_运维百科 instance specific conditions are met. This means I can\'t put it in the new asset pipeline\
I have my assets folder structure like this assets javascripts products --product.js --productValidate.js store