I logged this as http://dev.rubyonrails.org/ticket/4490 and included a patch
that just returns ''0'' for the asset id if the file
doesn''t exist.
On 3/29/06, Francois Beausoleil <francois.beausoleil@gmail.com>
wrote:>
> Hi !
>
> I have two apps really: the frontend and the backend. Apache has an
> Alias directive which directs traffic normally destined to
> public/images to another folder.
>
> The problem is that r4098 attemps to do a File.stat on a non-existent
> file. This is the breakage I''m talking about.
>
> Next, I''d like to disable that. I find it ugly that assets are
loaded
> using a URL such as:
> /images/kiss.jpg?12382910238
>
> That means I need to introduce a new configuration directive to Rails,
> right ? Something like config.action_view.auto_asset_timestamping =>
> boolean, default true ? Should there be a disabling option for each
> type ?
>
> Thanks for any pointers.
>
> Bye !
> --
> François Beausoleil
> http://blog.teksol.info/
>
> _______________________________________________
> Rails-core mailing list
> Rails-core@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-core
>
>
>
_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core