» Home » assets » Page 1
Rails loads css files from public/assets instead of app/assets in development mode
by Yst in Web Design

I'm running in development mode. I'm editing .css files but not seeing changes. If I go to public/assets/ and rename application.css, I see changes (it can't find any styles). Why would it be using that file? Isn't that for production mode? I don't want to pre-compile all the time in dev mode. thanks. Environment files added below.

development.rb :


Are Assets Owned by a Decedent on the Date of Death Considered Estate Assets?
by ArdentRogue in Personal Finance
As the saying goes, you can't take it with you. When you die, everything you own -- with the exception of property titled as tenants by the entireties or joint tenants with the right of survivorship -- becomes part of your estate. This includes all types of property, real and personal, tangible and intangible. It also applies to your debts. Personal PropertyPersonal property of your estate incl

Rails assets keep CSS license comments when stylesheet assets are minified
by Naxxy in Web Design

How do I preserve CSS comments in Rails stylesheet assets that are minified?

This is similar to this question, but for CSS instead of JavaScript.

Run-time loading of external assets and re-using preloaded assets in actionscript 3?
by lietkynes in Programming Languages

I'm creating a 2d flash game (coded in flex/actionscript 3) where assets are downloaded when they are needed. Currently I have it setup like this:


import flash.display.Loader;
import flash.net.URLRequest;
public class AssetLoader extends Loader
//set vars
private var url:String = "

Best way to switch between static assets and CDN based assets for development and deployment
by Sankarsan Bose in Programming Languages

I am developing and application in ASP.NET MVC3. I am planning to take advantage of Amazons Cloudfront offering as a CDN to serve static assets.

I am curious if anyone has devised a simple method for switching between local assets for development and CDN based assets for deployment?

Any tips or tricks would be greatly appreciated.

config.assets.precompile not adding vendor/gem assets
by Brian Drum in Programming Languages

I'm having trouble getting vendorized assets to be compiled as root files.

I want to have the following assets available standalone (not packaged with other assets_:


how do I make public assets in Rails without using the assets pipeline?
by Piriya in Programming Languages

I want to bypass the assets pipeline since a very, very silly processing error is completely preventing my app from working.

For example, I want to replace this:

<%= javascript_include_tag 'jquery' %>

with something like

<script type="text/javascript" src="public/javascripts/jquery.js"></script>


Rails assets are precompiled but production environment is looking for them in /assets
by rjbsmith in Programming Languages

I am running a rails server in the production environment, and I precompiled my assets, but for some reason the requests are going to the /assets directory instead of /public.

I have the default production.rb file. What could be causing this?

# config/environments/production.rb
config.cache_classes = true
config.consider_all_requests_local = false

Capistrano deploy assets precompile never compiles assets, why?
by keird in Programming Languages

Using deploy.rb to precompile rails assets only when they change, this task is always skipping the compile of my assets :(

namespace :assets do
task :precompile, :roles => :web, :except => {:no_release => true} do
from = source.next_revision(current_revision)
if capture("cd #{latest_release} && #{source.local.log(from)} vendor/assets/ app

How to Change Personal Assets to Business Assets
by cashshadow in Business
Small business operators will sometimes fund their enterprises through their personal assets. Business loans can be hard to come by or expensive for the start-up operation, but readily available personal funds can be used for business purposes. However, you should show a clear distinction between personal assets and business assets in order to avoid financial problems or an audit from the Internal

Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .