search for: beal

Displaying 20 results from an estimated 195 matches for "beal".

Did you mean: bal
2006 Apr 03
2
HABTM migrations
...s an option to not make an ID column, but this''ll do. But that seems sort of hackneyed. Is is a bug that the ID column is being manually populated by rails? Doesn''t seem very senseble, especially if the content of ID is always the same as team_id. Bug? Feature? -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.
2005 Dec 22
3
reading long matrix
...es might be the best option, but I've got a very long file - well over 100 species, each a matrix of 70 x 100 datapoints. making this option rther time consuming, I expect - especially as the next dataset has 1300 species and a much larger grid... Any hints would be gratefully recieved. Colin Beale Macaulay Land Use Research Institute
2006 Apr 03
5
Is old school STI broken? How would you do the same now?
...ith "List" in the database''s type column. Is there a better way to model this with the :through feature? Why isn''t rails finding the StaticList class? Is this a bug? A feature? The definition is in the same file as class List... Thanks for any pointers, -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.
2007 Jan 26
2
Using functions within functions (environment problems)
...ice svSocket svIO R2HTML svMisc svIDE "1.1.0" "1.1.1" "0.9975-10" "0.9975-8" "0.14-16" "0.9-5" "0.9-5" "1.58" "0.9-5" "0.9-5" Dr. Colin Beale Spatial Ecologist The Macaulay Institute Craigiebuckler Aberdeen AB15 8QH UK Tel: 01224 498245 ext. 2427 Fax: 01224 311556 Email: c.beale at macaulay.ac.uk -- Please note that the views expressed in this e-mail are those of the sender and do not necessarily represent the views of the Macaula...
2005 Jul 13
3
nlme, MASS and geoRglm for spatial autocorrelation?
...t seems like it might be overkill for what is, at first appearance at least, not such a difficult problem. Maybe I'm just being statistically naive, but I think I'm looking for a function somewhere between gls() and glmmPQL() and would be grateful for any pointers. Thanks very much, Colin Beale ... [[alternative HTML version deleted]]
2006 Apr 07
2
MSSQL activerecord uses bad syntax
...sing this syntax: SELECT TOP 1 * FROM users WHERE (users.user = ''jbgnuumnbu'') However, users.user is not a valid syntax in MSSQL. Why doesn''t AR handle this? Arn''t other people using this without problems? Found the error running rake migrate. -- Matthew Beale :: mixonic@synitech.com Resume & Portfolio @ http://madhatted.com -- Posted via http://www.ruby-forum.com/.
2006 Jun 21
1
Plugin Panic! - no accessing a model''s class methods?
...ew line. I also feel haunted by the knowledge that this is far easier than I think it is, though I cannot seem to find the answer in the acts_as_versioned or any other plugin (since none create new instances of their calling model class). full plugin contents follow. *whimper* help? -- Matthew Beale :: 607 227 0871 Resume & Portfolio @ http://madhatted.com # ActsAsCopyable module FakeActiveRecord module Acts #:nodoc: module Copyable #:nodoc: def self.append_features(base) super base.extend(MacroMethods) end # declare the class level helper metho...
2019 Aug 29
2
Online Backup Fails - list index out of range
> -----Original Message----- > From: Tim Beale [mailto:timbeale at catalyst.net.nz] > Sent: 29 August 2019 22:08 > To: Roy Eastwood; samba at lists.samba.org > Subject: Re: [Samba] Online Backup Fails - list index out of range > > On 30/08/19 4:20 AM, Roy Eastwood via samba wrote: > > INFO 2019-08-29 17:04:06,889 pid:1394...
2006 May 01
2
Error when creating table "left" in migration
Hi, I am getting an error when running a migration that is supposed to create tables called "bottom", "top", "left" and "right". Since "bottom" and "top" work just fine, my hunch is that in the SQL the "left" is mistaken for some join statement like "LEFT INNER JOIN". Couln''t one consider that a Rails
2011 Mar 23
3
Compare three or more values?
Is there a less cryptic way to compare three or more values? allTheSame<-c("red","red","red","red") notAllTheSame<-c(132,132,132,999) all.identical <- function(vectorToTest){ cIdentical=sum(vectorToTest %in% vectorToTest[1]) return(cIdentical==length(vectorToTest)) } all.identical(allTheSame) all.identical(notAllTheSame) Thanks in
2006 Apr 03
4
STI Broken on 1.1
Yeah I''m getting major problems as well. I don''t know what the issue is but I''m thinking of going back to 1.0 I would really like to hear if you figure this out, kind of an important part of Rails for us. -Paul -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 18
3
equivalent of "puts" in rhtml
Hi everyone, This seems so basic, and yet I can''t quite figure it out. Say I have some code in an .rhtml document: <%= if @session[:user_id] link_to somethingA else link_to somethingB link_to somethingC end -%> Only the link to somethingC will show in the second case. I understand that the last thing returned from that else block is that last line. In php i could just add
2005 Dec 22
3
acts_as_stateless ?
Is there such a thing that I could use to store sessions in the DB instead of in a cookie so that I can ensure users will be able to access their session data even across several load balancers? We use totally stateless machines here at work and I am worried about deploying a rails app in production that uses a volitile session stored on the machine. Any help is great! Happy Holidays, Mark --
2005 Dec 15
10
.rpdf ?
I haven''t delved into the wonderful world of PDF::Writer yet, nor have I run across a need.. but I just had an idea I wanted to throw out there how hard would it be to create a .rpdf template plugin for rails? could be neat ;]
2006 Mar 16
4
calling an actionview method from inside a model
Hi, I would like my model instance to produce it''s own list of options for a form select. This is from a product model that has_many variations def alts_for_select(current_id) the_map = variations.map{|v| [v.name, v.id]} options_for_select(the_map, current_id) end the model cannot see the options_for_select method I tried to use
2005 Dec 19
7
How about a forked session supervisor in dispatch.fcgi?
I was talking to a friend of mine who''s developing PHP on trax and we came up with a solution to the ruby session file problem. I''m not sure if this idea has come up before, so I wanted to run it by everyone before making any code contributations and/or talking to the Rails core about it. It seems to me that the current situation we''re in with regard to
2019 Jun 26
0
Error determinigng PSOs in system [SEC=UNOFFICIAL]
...I believe that I now have finally completed upgrading from 2003 server to Samba 4 (fingers crossed). Thanks so much to everyone for your help and patience. Cheers Russell -----Original Message----- From: Rowland penny [mailto:rpenny at samba.org] Sent: Wednesday, 26 June, 2019 4:26 p.m. To: Tim Beale; Thamm, Russell Cc: sambalist; Andrew Bartlett Subject: Re: [Samba] Error determinigng PSOs in system [SEC=UNOFFICIAL] On 26/06/2019 02:42, Tim Beale via samba wrote: > Hi Russell, > > Ah, right, of course you can't create the > msDS-PasswordSettingsContainer object on a 2003 sch...
2007 Mar 09
1
Dovecot's Sieve Support
...ecot's Sieve support. Specifically, Support for Sieve scripts (RFC 3028) and the protocol for remotely managing Sieve scripts, including: -- draft-martin-managesieve-06.txt -- draft-ietf-sieve-imapflags-05.txt And the following Sieve actions: -- fileinto -- redirect -- imapflags Thanks, Robb Beal -- www.laszlosystems.com --
2005 Dec 23
0
RE: Maintaining a Dev and a QA environment
...system on the same box as a dev configuration is that, with all these GEM_HOME and other configurations, is this really the same as the QA or production machine is running? The further away you get from what you want, the less useful the process becomes. -----Original Message----- From: Matthew Beale [mailto:mixonic-8rZIAEcCR/xWk0Htik3J/w@public.gmane.org] Sent: Friday, December 23, 2005 6:25 AM To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails] Maintaining a Dev and a QA environment On Fri, 2005-12-23 at 08:38 -0500, Kevin Bedell wrote: > Has anyone seen any...
2006 Jan 10
6
print an instance variable?
Is there a way to print out an instance variable (@something) so you can see: 1: what it contains 2: how it''s mapped together ?? -- Posted via http://www.ruby-forum.com/.