Displaying 20 results from an estimated 4000 matches similar to: "Multple domains, same application, different CSS, some over-rides"
2009 Nov 26
9
ActionView::TemplateError (can't convert ActiveRecord::Error into String)
I cannot work out why this error is appearing.
ActionView::TemplateError (can''t convert ActiveRecord::Error into
String) on line #3 of app/views/button/_show_enquiry.html.erb:
1: <h1>Send us a message</h1>
2: <% remote_form_for :enquiry, :url => {:action => ''send_mail''} do |
f| %>
3: <%= error_messages_for ''enquiry'',
2011 Feb 21
2
self.prepend_view_path - am I missing something
I have an app that varies its content based upon the domain from which
it is being accessed. Some of the domain characteristics are
supported in the model but it is easier varying static text in the
views and then sharing the form templates via partials etc.
Rails 2.3.10 and looking at the documentation at
2006 Oct 31
12
Moving page_cache_directory
Howdy. I''m working on a RoR CMS and need cached pages to all be in
public/cache rather than public [in order to set svn:ignore on all the files
properly]. I can get page_cache_directory set correctly and the pages are
cached in the right place but Mongrel isn''t serving them because it''s only
looking for them in public. During development I know I can set -r
public/cache
2006 Jun 07
5
RIDE-ME
I know these forums are typically for questions and such, but I thought
some of you may be interested in this...
For the past couple months I''ve been working on a Windows based IDE for
Rails development in my spare time. It closely resembles Visual Studio
in many respects, so if you''re a former ASP .NET developer like me,
you''ll feel right at home.
RIDE-ME is still
2006 Mar 21
2
Sorting by computed temporary field
Hey all,
I''m rather new to Ruby and Rails (and not great with SQL), but I''m
developing a ride sharing app and would like to be able to sort on
something I don''t have stored.
I have users, events, and rides, each of which has a zip code. Events
have_many rides, and rides belong_to events.
When an event is selected, I''d like to be able to show a list of
2009 Feb 10
1
how to use axes=FALSE to get multple plots?
I am trying to plot two things on one graph, with a y-axis at the left for
one variable, and a y-axis at the right, for the other variable. I thought
I could do as follows
par(mar=rep(4.5, 4))
plot(0:10, 10:20)
par(new=TRUE)
plot(0:10, 100:110, axes=FALSE)
axis(4)
but this writes both y-axis labels on the left-hand side, and nothing on the
right-hand side. This is R 2.8.1 (2008-12-22) on
2013 Feb 19
3
Specifying multple nodes with mcollective-puppet-agent Host Filters
If I want to run Puppet agent only on two nodes out of ten, how can I
specify this with the Host Filters? I tried mco puppet runall 10 -I
node1,node2 and different other variations, but this does not work. Is this
at all possible?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving
2006 Jun 15
1
multple sqlite connections from single rails application
Please help to work out solution for the following task :
There are several users of my application and I want to allow each one
to have personal sqlite database. It''s going to be very useful for me
when all user''s data incapsulated in one single file. All users can be
logged-in at one time. Is it possible to implement it with ruby on
rails? If so what is the best way to
1997 Nov 27
0
"Shrinking" Browse LIST with Multple Ethernet Switches!
Fellow Samba Users:
A few months back we "upgraded" from a standard 10 Base/T & Thin based
Ethernet LAN to using multiple Cisco Ethernet Switches (Model 1900s
connected in parallel). Since which time our Browse LIST (Network
Neighborhood) shrinks over time. I have a SunOS 4.1.3 SPARC/10 running
Samba 1.9.17p4 configured as our Domain Master, with a variety of SunOS,
Linux and
2010 Feb 19
3
Deleting colmuns with 0's and also writing multple csv files
Dear R helpers,
I have two queries.
(1) If the dataset contains some variables having all the entries = 0 and while analysing I want to delete those pericular columns, how do acheive this. i.e.
dataset1
sr_no var1 var2 var3 var4 var5
1 5 0 3 1 0
2 3 0 2 9 0
2012 Apr 20
3
Matrix multiplication by multple constants
Dear R helpers
Suppose
x <- c(1:3)
y <- matrix(1:12, ncol = 3, nrow = 4)
> y
[,1] [,2] [,3]
[1,] 1 5 9
[2,] 2 6 10
[3,] 3 7 11
[4,] 4 8 12
I wish to multiply 1st column of y by first element of x i.e. 1, 2nd column of y by 2nd element of x i.e. 2 an so on. Thus the resultant matrix should be like
> z
[,1] [,2] [,3]
[1,] 1
2012 Jul 28
2
[LLVMdev] Cross-compiling for cortex-m3: how do I get ride of -ccc-gcc-name ?
Hi there,
I'm using clang to cross compile for cortex-m3. I eventually managed to
do so with
clang++ -ccc-gcc-name arm-none-linux-gnueabi-g++ -ccc-host-triple
thumbv7m-none-gnueabi source.cpp -c -mcpu=cortex-m3
I would like to understand what -ccc-gcc-name does exactly and how
can I get ride of it?
>From what I understand, it's needed by the driver in order to find the binutils
for
2006 Aug 22
7
Cleanup at session expiration
I''m going to explicitly time out sessions if they''re idle more than X minutes. Like online banking sites do.
How do I set things up so that, when a session expires, a set of database records and a set of files that may have been created (which are identified via a seperate set of database records) are deleted just before the session data?
TIA,
Bill
2013 Jan 04
31
xennet: skb rides the rocket: 20 slots
Hi Ian,
Today i fired up an old VM with a bittorrent client, trying to download some torrents.
I seem to be hitting the unlikely case of "xennet: skb rides the rocket: xx slots" and this results in some dropped packets in domU, I don''t see any warnings in dom0.
I have added some extra info, but i don''t have enough knowledge if this could/should be prevented from
2005 Jan 27
2
Q: Can I over-ride the value of ${CALLERIDNAME} ?
Folks,
I'd like to change the value of ${CALLERIDNAME} for incoming PSTN
calls from certain numbers, but haven't found a way that works. The goal is
to provide more informative names on my phones' caller ID displays--e.g., I
would prefer to display "ROB CELL" instead of "CELLULAR CALL" when I call
home from my cell phone.
This is what I tried in the context
2011 Oct 12
1
Ride! Next Generation Equitation - fails
Trying to get a horse game running with wine in the computer.
Code:
wine '/home/TForsman/.wine/drive_c/Program/PAN Vision/Ride! Next Generation Equitation/EquestrianApp.exe'
wine: Call from 0x68417be2 to unimplemented function msvcp80.dll.??0?$basic_ostringstream at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAE at H@Z, aborting
wine: Unimplemented function
2007 Aug 21
4
Formatting Sweave in R-News
Hi,
I am editing a document for submission to the R-news newsletter, and
in my article my Sweave code inserts a dynamically generated PDF
report that my R program generates.
However, when I insert the PDF using the following Sweave code:
\newpage
\includegraphics[scale=1.0]{\Sexpr{print(location)}}
\newpage
(in tex this looks like):
\newpage
\includegraphics[scale=1.0]{/home/arjun/sample.pdf}
2011 May 06
3
Over-riding changes in modules and classes
Hello puppet gurus, maybe one of you can help with this. We have a
bunch of servers that are managed by puppet, but would like to make a
single, small change to a text file only on newly built machines.
This text file is controlled by a module that is referenced in several
places in our current configuration files.
So the question would be, is there a straightforward way to have this
new config
2014 Mar 20
6
[Bug 76376] New: mesa does not build after nouveau loader changes
https://bugs.freedesktop.org/show_bug.cgi?id=76376
Priority: medium
Bug ID: 76376
Assignee: nouveau at lists.freedesktop.org
Summary: mesa does not build after nouveau loader changes
Severity: normal
Classification: Unclassified
OS: OpenBSD
Reporter: jsg at openbsd.org
Hardware: Other
Status:
2005 Dec 29
7
NEW RAILS SITE: Riding two bubbles at the same time
Today we finally opened the doors to "Street Easy" (http://
www.streeteasy.com/), a Real Estate Research Site for New York City.
It was built by two guys in three months. It doesn''t have tags, but
it has google maps. It rides two bubbles at the same time. It''s like
road kill: the price tags will shock you, but you won''t be able to
stop browsing around.