Displaying 20 results from an estimated 40 matches for "hussey".
Did you mean:
huskey
2007 Jun 19
2
Traktor-Icecast
I have Traktor DJ studio 3.2 how do i get Icecast to work with it because it has totally confused me? Ryan Hussey (r.hussey@hotmail.co.uk)
_________________________________________________________________
Feel like a local wherever you go with BackOfMyHand.com
http://www.backofmyhand.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/icecast/atta...
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone,
So, I''ve got exception_notification working now, but not in
development mode on localhost. In my ApplicationController, I''ve
added:
local_addresses.clear
Shouldn''t that be enough?
Thank you!
Sean
2006 Feb 15
10
STI Question
Hi everyone,
I have 3 types of people (for now):
Staff
Faculty
Students
To break them up into classes, but keep them in the same People table,
I''ve broken them up like so (code and ''ends'' snipped):
class Person < ActiveRecord::Base
class Employee < Person
class Staff < Employee
class Faculty < Employee
class Student < Employee
So, when I insert
2006 Mar 30
3
Model.find(:all) where Model.association has more then 0 items?
Hi everyone,
I have a Department model that has_many people. How do I go about
finding all departments with more than 0 people?
Department.find(:all, :conditions => Department.people.size > 0)
That, of course, doesn''t work, but it was as close as I could come.
Thanks!
Sean
2006 Mar 15
7
O''Reilly Rails Cookbook on Rough Cuts
Subject says it all. Anybody taken a look yet?
http://www.oreilly.com/catalog/railsckbk/?CMP=ILC-GG7423313304&ATT=railsckbk
After buying the Ruby Cookbook and the other Rails book, I''m pretty
gunshy about another Rough Cuts purchase.
Sean
2006 Mar 29
3
MySQL in dev, Postgres in prod - differences in "LIKE" query
Hi everyone,
I run MySQL in my dev environment, but Postgres in my production
environment (out of necessity). I''m having trouble finding a way to
write a query with a LIKE condition that is supported as case
insensitive in both databases.
Right now, I have this:
@query = "m" # for example
@people = Person.find(:all, :conditions => ["last_name LIKE ?", @query +
2006 Jan 09
3
Pagination :conditions not working - MySQL v. PostgreSQL, Rails abstraction v. embedded SQL
Hi everyone,
I have this code:
@person_pages, @people = paginate :person, :per_page => 20,
:conditions => [ "username LIKE ? OR first_name LIKE ? OR
last_name LIKE ? OR preferred_name LIKE ?",
"%" + params[:q].downcase + "%",
"%" + params[:q].downcase + "%",
2006 Feb 01
5
Starting lighttpd/Rails apps as user, not root
Hi everyone,
When I want something to start at boot, I put it into /etc/rc*. The
service will start as root, though.
How do I make it start as a particular user? I''m worried about the
machine going down and me not being around to pick my app back up when
it does.
I think this would also help my SwitchTower issue of having 8 fastcgi
processes running for the app. 4 started by
2006 Apr 11
2
Passwords in SVN?
Hi everyone,
Where do you all keep your passwords for your apps? Out Subversion
repo is locked down to authorized users, and only those users can see
code in Trac. Is it safe to store passwords in there? For Rails?
For other scripts? What''s your strategy for this?
Thanks!
Sean
2005 Dec 19
2
Unit/Functional testing for AJAX functions?
I really have no more input than that, so the subject speaks for
itself. How do you test that AJAX effects shown in the browser are
actually happening? Maybe an auto-complete form field is a good
starting example.
Sean
2006 May 25
4
Using an external database behind a firewall
Hi everyone,
There''s a separate database I''m using to get mail group info for our
users (Sympa), and I''ve got Rails configured to pull data directly
from it via an entry in database.yml
The issue we''re having is that the database server in question is
behind an internal firewall that has idle timeouts set at 30 minutes.
If the connection isn''t used
2006 Jan 25
2
Testing a model method - private method?
Hi everyone,
I''m trying to test a method in my model:
def html_email
return "<a href=''mailto:" + self.email + "''>" + self.email + "</a>"
end
The method works ok. But when I try to test it:
assert_equal ("<a href=''mailto:" + people(:staff1_person).email +
"''>" +
2006 Jan 24
2
SwitchTower and multiple database.yml files - how do you deal with them?
Hi everyone,
What are other people doing with regards to database.yml being in
version control? My dilema:
I set up my rails app in svn using these instructions:
http://wiki.rubyonrails.com/rails/pages/HowtoUseRailsWithSubversion
The part to note is where I ignore database.yml, allowing different
developers to keep their own database.yml without clobbering other
developers'' files.
2006 Jun 13
4
script/plugin discover breaks?
Hi everyone,
I was trying to discover some new plugins, but the script breaks at a
certain point:
$ ./script/plugin discover
Add http://delynnberry.com/svn/code/rails/plugins/? [Y/n]
Add http://svn.recentrambles.com/plugins/? [Y/n]
Add http://svn.hasmanythrough.com/public/plugins/? [Y/n]
Add http://www.svn.recentrambles.com/plugins/? [Y/n]
Add http://sean.treadway.info/svn/plugins/? [Y/n]
Add
2006 Jan 31
6
Pagination - why is it this hard?
Hi everyone,
I''m at the end of my rope on this. I can''t get pagination to work
with anything but a standard find on a model. If I try to do a search
and customize the pagination, I get lots of different variations.
My thought was to have the list action do what it does, but to pass it
a list of search conditions from the search action. So, if search
determines that we need
2006 Jan 30
4
Is this a case for STI?
Hi everyone,
We have different populations of people here at our college: Staff,
Faculty, Students, Alumni (and a host of "Other" that I''ll worry about
another day.
I originally had only Staff and Faculty loaded in under a Person model
using a Personnel controller. Now I want to add the students in, so I
thought STI might be the way to go:
class Person < AR::Base
end
2006 May 05
1
NameError when running exception_notification plugin?
...d constant ExceptionNotifiable
This error occured while loading the following files:
application.rb
exception_notifiable.rb
In my application.rb, I added this:
include ExceptionNotifiable
And in my development environment file, I added:
ExceptionNotifier.exception_recipients = %w(seanhussey@gmail.com)
What am I missing?
Thanks!
Sean
2006 Apr 18
0
Re: Searchable archive of this list?
> From: Sean Hussey <shussey@...>
> Subject: Re: Searchable archive of this list?
> Newsgroups: gmane.comp.lang.ruby.rails
> Date: 2005-09-16 17:00:28 GMT (30 weeks, 3 days, 16 hours and 36
minutes ago)
>
> I have GMail, but rarely use it. Do most people here use it for list
> managemen...
2006 Jan 23
1
Spawner -p and --port not working?
Hi everyone,
I''m trying to set a port with spawner, and it''s not working:
ruby /var/rails/ldapadmin/current/script/process/spinner -c
/var/rails/ldapadmin/current/script/process/spawner --port=7000 -i 4
-d
spinner: invalid option: --port=7000
Same with -p:
ruby /var/rails/ldapadmin/current/script/process/spinner -c
/var/rails/ldapadmin/current/script/process/spawner -p 7000
2006 Jan 30
1
AR load script only loading every other item?
Wow, this one is weird. I''ve got a file with data I want to import,
one item per line. When I run this code, only the first, third,
fifth, etc items get saved:
require ''../app/models/entitlement''
#### Add entitlements
f = File.open("../tmp/entitlements.csv")
f.each do |line|
id, code, description = line.chomp.split(''|'')
entitlement =