similar to: How to set homepage in Rails

Displaying 20 results from an estimated 4000 matches similar to: "How to set homepage in Rails"

2009 Feb 26
7
javascript using jQuery.js and prototype.js doesnt work 2get
Hi........ M hving javascript "scripts.js" which uses jQuery.js in rails application. bt when it is used along with prototype.js, one of the javascripts which hs been included first in my application.rhtml fails... Do some1 hv any solution how to make both the scripts work 2gether... I tried using <script> jQuery.noConflict(); </script> bt of no use. problem
2009 Mar 05
6
About before_* callbacks
Hi I have an problem about before_* callbacks. I have a model named: Event And I don''t want anyone to destroy or update any records in Event model. So: [code] class ActiveRecord::Base before_destroy :log_illegal_operations before_update :log_illegal_operations private def log_illegal_operations Event.create({:key => "illegal operation", :value =>
2009 Jan 18
2
after_save -- stack level too deep
Hi all, I''m running into a brick wall trying to figure out my problem here. I have a model that has a boolean property called "paid". I''d like to add the following to my model: def after_save self.amount == self.splits.sum(:amount) ? self.update_attribute (:paid, true) : self.update_attribute(:paid, false) end The problem is, when I do this I get an error that
2008 May 02
3
CruiseControlRb behind apache
I managed to find this in the archives, so far: http://www.nabble.com/Setting-up-CCRB-behind-apache-proxy-tt14016053.html#a14099749 Found a better alternative to doing this in my .htaccess instead of messing with the httpd.conf, in case someone is interested: --- snip --- RewriteEngine On ### for cruisecontrol RewriteBase / RewriteRule ^(.*)$ http://localhost:3333/$1 [P] AuthType Basic
2011 Jan 21
1
ggplot boxplot
Hello, I am trying to generate a set of boxplots using ggplot with the following data with 4 columns (Day, Site, VO2, Cruise) AllCorbulaMR Day Site VO2 Cruise 1 1 1 148.43632670 1 2 1 1 61.73864969 1 3 1 1 92.64536096 1 4 1 1 73.35434957 1 5 1 1 69.85568810 1 6 1 1 98.71116866 1 7 1 1 67.57880107
2008 Dec 07
2
subsetting large data frames.
Hi all, I have a question regarding subsetting of large data frames. I have two data frames ?catches? and ?tows? and they both have the same 30 variables (columns). I would like to select rows in the data frame ?tows? where all 5 specific variables are NOT matched in ?catches. That is to say, the combination of these 5 variables is unique. One or more of the variables could be the same but the
2008 Jan 17
3
CruiseControl problem. Broken Pipe?
Hi Friends, Just happened to catch this err in the CC log: Build loop failed BuilderError: Write failed: Broken pipe ./script/../config/../app/models/subversion.rb:98:in `execute_in_local_copy'' ./script/../config/../lib/command_line.rb:86:in `call'' ./script/../config/../lib/command_line.rb:86:in `e'' ./script/../config/../lib/command_line.rb:84:in `popen''
2010 Mar 18
2
CCrb configuration for many projects
Hi! I have about 10 projects in my Cruise. I want to use metric_fu (roodi, rcov, flay) metrics. Right now I have defined :cruise task in Rakefile in each project. Is there any convention to manage cruise configuration from one place? Gem? Plugin for Rails projects? Some good habit also for custom artifacts? -- Pozdrawiam, Sebastian Nowak http://blog.sebastiannowak.net XMPP: seban at chrome.pl
2005 Oct 19
2
Automatic rounding of values after factors , converted to numeric, are multipled by a real number
I am wondering if someone would have any suggestion about my issue? I have the following code: wgts<-aggregate(subset(lendata,select=c(Length)),list(lendata$Cruise,len data$Station,lendata$Region,lendata$Total),mean) wgts<-wgts[order(wgts$Group.3,wgts$Group.1,wgts$Group.1),] names(wgts)<-c("Cruise","Station","Region","Total","MLen")
2007 Mar 17
10
a WARNING about cruise task or user-specified build task for Rails
If (like me) you use ccrb to test a Rails app and (like me) you define your own :cruise task, because, for example, you use rspec rather than Test::Unit and (like me) you have the RAILS_ENV ||= ''production'' line in environment.rb (because, like me, you use crummy shared hosting) Your build will run in production mode, possibly screwing up your production database,
2009 Sep 05
3
Selecting biological data
Hello all, I am new to R but have some experience with MATLAB and am trying to make the switch. I generally find the two languages easy to adapt but there are a few routine tasks which I would like to run smoother in R and I am having trouble finding a help resource. Could someone suggest a guide to filtering, selecting, sorting, and processing biological matrix data? Here is a rudimentary
2008 Aug 12
1
The CruiseControl server does not provide web URLs for projects
Hi folks, We successfully set up our ccrb app, running on a server in-house. As a first pass, I was originally running it through a terminal connected to the server via ssh, where I''d just navigated to the app''s folder then run ''cruise start''. At that time, I could connect fine to the CCTray service. We''ve subsequently
2014 Nov 04
1
What List to Use for Patch Requests (Johnny Hughes) - CentOS Digest, Vol 118, Issue 4
On 11/04/2014 05:00 AM, centos-request at centos.org wrote: Today's Topics: 34. Re: What List to Use for Patch Requests (Johnny Hughes) ------------------------------ Message: 34 Date: Tue, 04 Nov 2014 05:58:07 -0600 From: Johnny Hughes <johnny at centos.org> To: centos at centos.org Subject: Re: [CentOS] What List to Use for Patch Requests Message-ID: <5458BF4F.6020300
2007 Apr 17
7
rspec with CI
I am a bit of a rails and rspec noob. I am trying to use rspec in conjunction with CruiseControlrb. When I run a cruise build having spec errors, the build does not indicate a failure. I have tried to track down why this is the case, and my best guess is that the spec task is kicking off the spec via a ruby() method in rake, and that ruby method does not propagate my spec failure back to
2007 Oct 12
1
Differencing data by groups
Colleagues, I am analyzing data collected during oceanographic cruises. We have conducted many cruises over the last decade. On each cruise we visit ~50 stations. At each station (termed EventNum)we lower an instrument that measures depth, temperature, salinity and oxygen every few seconds as it is lowered through the water. Data from all EventNums on all cruises are stacked, generating a data
2008 May 21
1
Fwd: One Build at a time
> > Hello CCrb users. > > Is there a way to configure Cruise Control rb to only build one > project at a time? > > I have two projects is two different repositories, and I don''t want > their builds to overlap. > > Thanks, > > Doug Bradbury > Software Craftsman > 8th Light, Inc. > blog.8thlight.com/doug
2001 Oct 31
2
Problem using -v within rsync transfer.
Hello, We have used rsync on a mirroring application successfully for just over a year. After our upgrade to 2.4.6, however, the process started failing about 50% of the time. The nature of our failure was that the rsync processes on the remote system would die with no error message, leaving the local system processes hung. I have netstat and trace output for available if needed, but I see
2003 Jul 26
5
suid bit files + securing FreeBSD
Hello everybody, I'm a newbie in this list, so I don't know if it's the appropriate place for my question. Anyway, I'd be happy to find out the solution. Please, has anyone simple answer for: I'm looking for an exact list of files, which: 1. MUST have... 2. HAVE FROM BSD INSTALLATION... 3. DO NOT NEED... 4. NEVER MAY... ...the suid-bit set. Of course, it's no problem to
2015 Jun 19
2
Calling multiple phones at once
Hello All! I asked week a so ago about how to call multiple phones alltogether (home, office, cell) Dial app looks simple, this is kind of what I have now: --------------------- [globals] IVAN_HOME_OFFICE=SIP/BF8 IVAN_OFFICE=SIP/CFC IVAN_CELL=SIP/83 at callcentric [internal] exten => 101,1,Dial(${IVAN_HOME_OFFICE}&${IVAN_OFFICE}&${IVAN_CELL},60) same => n,VoiceMail(101 at
2008 Jun 09
1
Configuration Settings
I am trying to configure CC.rb as an NT service, and have it installed using SRVANY.exe, and can access the dashboard via http://localhost:3333 Now have a few questions about config 1) Used "cruise add" to add the project, but the dashboard still the dhasboard says "There are no projects in the project directory" 2) This question may answer 1), how do I configure the