search for: braithwaite

Displaying 14 results from an estimated 14 matches for "braithwaite".

2005 Dec 30
5
HABTM with finder_sql problem (Rails bug?)
I''m building an app that needs i18n support across the entire database (i.e. localized attributes). In order to do this I''ve created a special HABTM join table that can be associated with _any_ other table: create table language_strings ( for_table varchar(255) not null, foreign_id int not null, language_id varchar(5) not null, attr_name varchar(255) not null, value text
2006 Jan 04
5
habtm recusive
I have a people table: CREATE TABLE people ( id int(10) unsigned NOT NULL auto_increment, first_name varchar(75) default NULL, middle_name varchar(75) default NULL, last_name varchar(75) default NULL, PRIMARY KEY (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1272 ; and a people_people table: CREATE TABLE people_people ( person_id int(11) unsigned NOT NULL,
2005 Dec 27
3
Trouble combining :has_many, :finder_sql and :conditions to create a sub-search
...hts.ago] And I get an exception inside of association_proxy.rb Anyways, that''s very long-winded. If we snip it all off, what I want is to be able to add conditions to a relationship that has its own :finder_sql. Is there something else I should be doing? Thanks in advance! -- Reginald Braithwaite "Our show may not be fancy, but it''s noisy and it''s free." http://www.braithwaite-lee.com/weblog/ Like all text messages, email exchanged with a gmail account may be stored indefinitely and/or read by third parties without the sender or receiver''s knowledge or...
2005 Dec 29
9
Single Table Inheritance
Hi all, Quick question for STI. With the following setup: class Company < AR::Base; end class Firm < Company; end Why does Firm.find(:all) return all Companies, not just those that have type==''Firm''? -- Alex
2005 Dec 28
9
Idiom question - assertions which aren''t in tests
All, Although I''ve been keeping an eye on Ruby for several years now, I don''t have a huge amount of experience with it. So please forgive me if I''m missing something obvious. I''m in the process of writing my first really "serious" Rails app and would appreciate your advice. I am wondering if there is a standard idiom for including assertions in
2006 Jan 03
1
Another Rails blog entry out of Apress
A short entry, but good words about Rails. http://ablog.apress.com/?p=842 -- thanks, -pate -------------------------
2005 Dec 27
0
How do I combine :finder_sql and :conditions to perform a sub-search on a custom has_many relationship?
...ghts.ago] And I get an exception inside of association_proxy.rb Anyways, that''s very long-winded. If we snip it all off, what I want is to be able to add conditions to a relationship that has its own :finder_sql. Is there something else I should be doing? Thanks in advance! -- Reginald Braithwaite "Our show may not be fancy, but it''s noisy and it''s free." http://www.braithwaite-lee.com/weblog/ Like all text messages, email exchanged with a gmail account may be stored indefinitely and/or read by third parties without the sender or receiver''s knowledge or...
2006 Aug 18
4
DateBocks v2.0.0 Released
...2 characters in length for month and day - Bug fixes - 1st of Jan[uary] - Errors now highlight elements properly - Major bug with the enter key to update the date and not post the entire form - Fixed bug for special days where it - Fixed bug for using datebox_field in a partial [Reginald Braithwaite ] So with that said, do please check it out. Oh, and I decided to spiff up the site a bit, and design my a fancy new layout. It is inspired from a newsletter I got. Brownie points to whoever guesses it :) Demo away.... http://datebocks.inimit.com -- Kind regards, Nathaniel Brown Inimit Inno...
2003 May 15
2
FW: iHEADS UP: ipsec packet filtering change
> -----Original Message----- > From: Greg Panula [mailto:greg.panula@dolaninformation.com] > Sent: 12 May 2003 11:10 > To: Matthew Braithwaite > Cc: stable@freebsd.org > Subject: Re: iHEADS UP: ipsec packet filtering change > > You don't really need the gif tunnels for ipsec. Gif is more geared > towards ipv4 <=> ipv6 type tunnels. A few of ipsec how-to's mention > using gif tunnels and I've been tri...
2005 Oct 15
6
FW: Some queueing disciplines that I wrote.
...stProj/index.html Please read the HOWTO for instructions on how to build and install. Please direct questions about this to braith@dodo.com.au Apart from Mice and Elephants queueing disciplines, an ARED queueing discipline is there also. Yours sincerely, Stephen Braithwaite P.S. :- I would like to "sell" (not really - of course its all free) you the concept of mice and elephants. So here is some cut and paste from my master''s dissertation:- A "Mice and Elephants" strategy (also called Shortest Job First) is one which favours the sh...
2008 Feb 12
1
Random Effects
Hi All: I have a panel data set with i individuals and t time periods for which i am required to estimate the model parameters allowing for Random Effects. How can i go about this in R? Thanks Sam "There would be no heroes if there were no battles or no arduous tasks, and there are no real scholars but those who have fought with circumstances while they studied books." -
2003 May 11
1
iHEADS UP: ipsec packet filtering change
On Sun, 23 Feb 2003 09:47:05 -0800, "Sam Leffler" <sam@errno.com> said: > >> Add a new config option IPSEC_FILTERGIF to control whether or not >> packets coming out of a GIF tunnel are re-processed by ipfw, >> et. al. By default they are not reprocessed. With the option they >> are. > > This may affect your ipfw/ipf rules. If you are happy with
2011 Oct 19
0
How do I sync my outlook with my PDA using my msn email?
...proofBuilt-in GSM/GPRS/EDGE (850/900/1800/1900MHz)Dimension : 136 mm (L) ?? 75 mm (W) ?? 27 mm (H)Operating Temperature : -20 ??C to +65??CWeight : 220g About the Author Nephsystem is the leading supplier in the fields of RFID, Smart Tracking Systems and Industrial PDAs. Hipster PDA Image by Myles Braithwaite This is my Hipster PDA. Tagged as: email, outlook, sync, using
2006 Feb 10
36
Advocating RoR in the enterprise?
Hi folks, I''m looking for advice on how to promote RoR in my workplace. Specifically, I''d like to work out a strategy for promoting development in Rails as a new alternative to our existing technology (the usual suspects... mostly Java/Oracle, .NET, PHP, and a bit of Perl here and there). Some background: I work for a fairly large state environmental agency as a web developer.