Displaying 20 results from an estimated 60000 matches similar to: "Changing default file locations"
2006 Jan 03
1
RequireResourceHelper for JS and CSS
The following was posted on my blog at http://blog.inquirylabs.com.
A friend of mine recently expressed interest in this code snippet, so
I thought I''d send it out to anyone else who''s interested. This
module makes it a lot easier to ''require'' javascript and cascading
stylesheet dependencies inside your views or controllers. By
2008 Apr 20
2
mod_rails showing plain text instead of actual page
hello!
i got this forum powered by apache and mod_rails
lately when i create / edit posts, i get plain html text showing up
instead of the actual page.
here''s what i see:
--
Content-Type: text/html; charset=utf-8
Set-Cookie:
_mysite_session=BAh7CzoOcmV0dXJuX3RvMDoKdGl0bGV7BmkVdToJVGltZQ2IDhuAK1UeADoL
%250AdG9waWNzewZpBnU7Bw2HDhuA2%252FZJ7zoJdXNlcmkGIgpmbGFzaElDOidBY3Rp
2007 Jan 19
4
Problem with link tags
Hell all,
I have a layout were I add my stylesheets and javascript in the
following manner:
<%= stylesheet_link_tag "/form" %>
<%= stylesheet_link_tag "/text" %>
<%= javascript_include_tag :defaults %>
But what happens is that in the actual web page the source is the
following:
<link href="/form.css?1168168516" media="screen"
2014 Apr 26
0
jquery_ujs.js 404
I am getting this annoying error which relates to jquery_ujs.js not
being served. Any clues?
This is the site link:
http://test.kopy.com.br/home/index
GET http://test.kopy.com.br/assets/jquery_ujs.js?body=1 404 (Not Found)
index:11
GET http://ads.panoramtech.net/loader.js?client=tac
net::ERR_BLOCKED_BY_CLIENT rev.js:4
Error in event handler for (unknown): Cannot read property 'state' of
2006 Mar 13
5
What is the matter with content_for_layout?
Here is my layout file:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>My Demands</title>
<%= stylesheet_link_tag ''ajax_scaffold'', :media => ''all'' %>
<%=
2012 Feb 21
2
Asset Pipeline doubles my CSS refs?
Hi,
I''m trying to properly reference a .css file. Unfortunately the asset
pipeline is doubling my css references which disables my code. What
gets rendered is:
<link href="/assets/sincoraish-screen.css" media="screen"
rel="stylesheet" type="text/css" />
<link href="/assets/sincoraish-print.css" media="print"
2006 Mar 18
3
Weird stylesheet_link_tag issue after moving servers
Dear experts,
I am in the process of switching servers for my application.
Before the move everything was working properly.
After the move
<%= stylesheet_link_tag ''/stylesheets/styles.css'' %>
generates
<link href="//stylesheets/styles.css" media="screen" rel="Stylesheet" type="text/css" />
2006 Apr 07
3
Strange errors in generated html
Hi!
This:
<%= javascript_include_tag :defaults %>
<%= stylesheet_link_tag ''doitwithstyle'' %>
generates this:
<script src="/javascripts/prototype.js?1144418901"
type="text/javascript"></script>
<script src="/javascripts/effects.js?1144418901"
type="text/javascript"></script>
<script
2008 Apr 04
4
Auto Complete Problems
Hello All,
I''m a RoR newbiew, trying to experiment with Autocomplete, but I''m
having some difficulties. When I start typing in my input box, instead
of getting a nice drop down, the styling on my page is getting all out
of wack (ie my background colours change, link styling changes, etc) and
I''m not seeing any autcompletion data. Here are the steps I''ve taken
2006 Jun 16
1
helpers adding digits to generated links
Hi all,
I noticed that rails helper methods are adding extra info to the generated
links whereas previously they didn''t. Here are some examples:
<link href="/stylesheets/styles.css?1150398928" media="screen"
rel="Stylesheet" type="text/css" />
<script src="/javascripts/prototype.js?1148640823"
2006 Mar 16
1
script.aculo.us in xsl
Hello, first of all, sorry for my English, I´m a Spanish student and I´m
having some problems with script.aculo.us. These are the following:
I have a XML file like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="barraNav.xsl"?>
<barraNav>
<boton>
2006 Aug 15
0
Using config.action_controller.asset_host with ActionController::AbstractRequest.relative_url_root
I''m looking for some help with an issue I''m having using an external
asset host. I''ve got the lines below in my environments/development.rb
file.
# Enable serving of images, stylesheets, and javascripts from an asset server
config.action_controller.asset_host = "http://assets.example.com"
#make rails think it lives in /app
2014 Aug 17
1
Segmentation fault while indexing a large mailbox using doveadm..
Hi,
I am having the same issue as:
http://www.dovecot.org/list/dovecot/2014-April/095681.html
although I am using the latest dovecot-core and dovecot-lucene packages
from the debian sid repo which already has the patch
(http://hg.dovecot.org/dovecot-2.2/rev/5e42a8c18b51) mentioned in the
above thread implemented.
doveadm(admin): Info: Old.All: Caching mails seq=1..300332
9400/300332
Program
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first
to the second but not from the second to the first. The behavior is
consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to
3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the
4th list to anything (besides itself). From the third list I can drag only
to itself and 4.
2006 Jul 27
3
A number (id?) is added after css/js tags like style.css?1154009736
Dears,
My Ror setup works.. but I can''t guess why
<%= stylesheet_link_tag ''style'' , :media=> ''screen''%>
is rended as
<link href="/stylesheets/style.css?1154009736" media="screen"
rel="Stylesheet" type="text/css" />
What is that number.. any usage ??
Or I misconfigured something ?
Thanks
2007 Sep 19
5
problem after scaffolding
hi guys,
I am having problems after scaffolding
I created a db called "requests"
and when i tried to execute the command
script/generate scaffold request
It gave me an error please make sure you have a database request created
before you do this
The db is obviously created; rails cant access it...
so I tried to hack i copied my view model and controller files from my
local deployment to
2015 Jun 10
3
C5 : Firefox 38 bug
I displayed, as a web page, a list of search results created in PHP,
from MySQL.
Firefox prevents me looking at the web page's source coding.
Right-click, view source, produces this display:-
"Document Expired
"This document is no longer available.
"The requested document is not available in Firefox's cache.
" As a security precaution, Firefox does not
2006 Mar 01
5
scaffold.css and Rails tutorial problem
In iteration D.1 on page 109 I am not getting a styled error message box
displayed at the top of the checkout as described in the tutorial and I
cannot seem to discover where I have erred.
The scaffold.css is copied from the pragmatic programmers site:
#--------------------------------------------------------------------
$ cat public/stylesheets/scaffold.css
body { background-color: #fff;
2012 Nov 06
2
rspec failure upon revisit
I just returned from a different project after taking a few weeks off of
my tutorial. I''m using Ruby on Rails 3 Tutorial - Learn Rails by
Example by Michael Hartl.
After rebooting my server I ran an rspec spec/ command to check to see
if there were any problems and this is what I received. I didn''t modify
anything except I did overwrite users_controller.rb and
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action