Displaying 20 results from an estimated 20 matches for "grimshaw".
2007 Apr 06
3
How to find rows where no row in associated table exists?
Basically, how do I do this "The Rails Way(tm)"
SELECT * FROM beta_users u LEFT JOIN beta_codes c ON u.id =
c.beta_user_id AND c.code IS NULL
At the moment I''m using find_by_sql, and that works Ok, but what would
be the Rails way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2006 Oct 10
1
DEFCON errors
...ing the above errors on wine (insta;;ed from a Debian
package, updated about 10 minutes ago.
It would appear that OPENGL32.dll is installed (but lower case) ,
however glu32 isn't anywhwre on my system.
Any ideas?
--
-S
Sports Photography in South Yorkshire & Derbyshire
http://www.stuartgrimshaw.co.uk
2007 Nov 06
1
gem freezes
Might be more of a general Ruby question I suppose, but you guys will
know anyhow ...
After an upgrade to Leopard (a clean install, not a literal upgrade)
I''ve copied my projects back onto my Mac, but I get an error when
trying to start Mongrel that according to sources on the internet
indicate that I''m missing some gems.
When I try and install them however, the gem command
2013 Mar 12
2
Only running database_grant the first time.
I''m using puppet through Vagrant to manage my dev VM, and as part of that I
have a few database grants that I run after creating users, but when I
subsequently run vagrant up or provision these grants fail (because of some
changes I make to the mysql config after they have been created.)
I''m using database_grant to execute the grants, but there doesn''t seem to
be a
2007 Mar 25
3
Session is nil inside model
I''m tring to write a little function to indicate if a user is able to
pay an invoice, I have my invoice model with:
def canPay?
if session[:user].id == self.consumer_id
return true;
else
return false;
end
end
as a method, but it gives the error:
"undefined local variable or method `session'' for #<Invoice:
0xb7670928>"
Right before
2004 Jun 14
15
oh323
This module wont compile can anyone give me any assistance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040614/03ae433c/attachment.htm
2011 Jul 11
0
CFP: The 12th IEEE/ACM International Conference on Grid Computing (Grid2011)
...Poster Chair: Gilles Fedak, INRIA, Lyon
Proceedings and Publications Chair: Rajkumar Buyya, The University of
Melbourne and Manjrasoft, Australia
Program Vice Chairs:
Clouds and Virtualisation: Roger Barga, Microsoft Research, US
Distributed Production Cyberinfrastructure and Middleware: Andrew Grimshaw, Univ. of Virginia, US
e-Research and Applications: Daniel S. Katz, Univ. of Chicago and Argonne National Lab, US
Tools& Services, Resource Management& Runtime Environments: Ramin Yahyapour, Dortmund
Distributed Data-Intensive Science and Systems: Erwin Laure, KTH, Sweeden
Publicity Cha...
2011 Jul 11
0
CFP: The 12th IEEE/ACM International Conference on Grid Computing (Grid2011)
...Poster Chair: Gilles Fedak, INRIA, Lyon
Proceedings and Publications Chair: Rajkumar Buyya, The University of
Melbourne and Manjrasoft, Australia
Program Vice Chairs:
Clouds and Virtualisation: Roger Barga, Microsoft Research, US
Distributed Production Cyberinfrastructure and Middleware: Andrew Grimshaw, Univ. of Virginia, US
e-Research and Applications: Daniel S. Katz, Univ. of Chicago and Argonne National Lab, US
Tools& Services, Resource Management& Runtime Environments: Ramin Yahyapour, Dortmund
Distributed Data-Intensive Science and Systems: Erwin Laure, KTH, Sweeden
Publicity Cha...
2006 Sep 15
1
Applying game patches.
...says it is unable to
find and required files.
Now I have a windows laptop that I could install & patch DoW on, but
before I go through all the hassle, does anyone have any ideas on how
to get the patches to work?
--
-S
Sports Photography in South Yorkshire & Derbyshire
http://www.stuartgrimshaw.co.uk
2003 Feb 28
2
Help on rpart
To whom it may concern,
I am using the rpart() function to perform a recursive tree analysis on a
set
of data that includes both numerical and categorical attributes.
At the end of the analysis, I would like to see the linear model at each
node in the tree. In particular, I would like to see each node specific
model coefficients
associated with each of the independent variables and intercepts.
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment
everything works fine, however following a deployment with Capistrano
about an hour ago, I get the following error:
PGError in HomeController#index
FATAL: role "root" does not exist
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
connection_adapters/postgresql_adapter.rb:713:in `connect''
2006 Jun 07
3
Including scriptaculous.js causes page to "hang"
When I say hang, I mean the browsers spinner keeps spinning and
Firefox''s info bar at the bottom says "Transfering data from ...... "
I''m just including the js like this:
<script src="/js/prototype.js" type="text/javascript"></script>
<script src="/js/scriptaculous.js" type="text/javascript"></script>
2007 Aug 15
2
has_many :through ... What am I missing?
class Ladder < ActiveRecord::Base
has_many :players
has_many :users, :through => :players
end
class Player < ActiveRecord::Base
belongs_to :users
belongs_to :ladders
end
class User < ActiveRecord::Base
has_many :players
has_many :ladders, :through => :players
end
When I try the following code (on the console) I get an error:
@ladder = Ladder.find(1)
@ladder.users
I
2006 Nov 07
2
undefined local variable or method `invoices' for Provider:Class
I''m pretty new to Rails, and I think my app has progressed quicker than
my knowledge of Rails/Ruby has ...
I have the following models:
[ -- Begin -- ]
class Provider < ActiveRecord::Base
has_many :invoices
has_one :user
def self.get_invoices
invoices.find(:all)
end
end
class User < ActiveRecord::Base
belongs_to :Provider
belongs_to :Consumer
def
2003 Feb 18
7
gnophone
I am having a really hard time getting gnophone working with asterisk.
Gnophone tries to register with my server but there is no response. I
can direct incoming calls to gnophone but if gnophone answers them,
asterisk does not recognize it. Here is my configuration:
iax.conf
[jambo]
type=user
host=dynamic
defaultip=136.159.99.100
permit=136.159.99.100
username=jambo
secret=fubar
2012 Apr 14
0
CFP: 13th IEEE/ACM Int. Conf. on Grid Computing (GRID) 2012
...zhong University of Science and Technology, China
* *Workshop & Poster Chair:* Jinlei Jiang, Tsinghua University, China
* *Vice Chair -- Clouds and Virtualisation: * Roger Barga, Microsoft
Research
* *Vice Chair -- Distributed Production Cyberinfrastructure and
Middleware:* Andrew Grimshaw, Univ. of Virginia, US
* *Vice Chair -- e-Research and Applications:* Daniel S. Katz, Univ.
of Chicago & Argonne National Laboratory, US
* *Vice Chair -- Tools & Services, Resource Management & Runtime
Environments:* Ramin Yahyapour, Dortmund
* *Vice Chair -- Distributed D...
2012 Apr 14
0
CFP: 13th IEEE/ACM Int. Conf. on Grid Computing (GRID) 2012
...zhong University of Science and Technology, China
* *Workshop & Poster Chair:* Jinlei Jiang, Tsinghua University, China
* *Vice Chair -- Clouds and Virtualisation: * Roger Barga, Microsoft
Research
* *Vice Chair -- Distributed Production Cyberinfrastructure and
Middleware:* Andrew Grimshaw, Univ. of Virginia, US
* *Vice Chair -- e-Research and Applications:* Daniel S. Katz, Univ.
of Chicago & Argonne National Laboratory, US
* *Vice Chair -- Tools & Services, Resource Management & Runtime
Environments:* Ramin Yahyapour, Dortmund
* *Vice Chair -- Distributed D...
2004 May 30
6
*** Asterisk Sunday News: Gone Fishing...
Spring is back in the Stockholm area. After a few day's worth winter re-runs,
the sun is back and night-time temperature is at least 5 degrees celsius. Time to
move out all my annual flowers and prepare the garden for summer.
Sweden is famous for our annual five week holidays - by law. From june to late
august, it's almost impossible to make any business decision, since there's always
2006 Sep 16
1
Warhammer 40k
...omplains that there is no cd in the drive, or that I must
insert the origional CD, this is not a copy or a download, it is an
origional CD :-(
Am I missing a trick here? I'm using Wine 0.9.18-1 from Debian testing
--
-S
Sports Photography in South Yorkshire & Derbyshire
http://www.stuartgrimshaw.co.uk
2004 Jun 02
1
Bluetooth headsets/phones.
Has anyone managed to use a bluetooth headset or phone with their install
of Asterisk?
What I had in mind was either have a headset paired with the server and
use that to answer/make calls in some way, or forward the calls to my
mobile via bluetooth if that's possible.
--
-S