search for: reginald

Displaying 20 results from an estimated 137 matches for "reginald".

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 Feb 28
5
Problem with paginate, include and foreign keys
Hi all, Solaris 10 Ruby 1.8.4 Rails 1.0.0 Postgres 8.1 postgres driver 0.7.1 I''m having a problem with getting paginate() to properly pick up an FK constraint properly. I don''t seem to have this issue with ActiveRecord, however. Consider: create table start_dates ( id bigserial, start_date date unique, max_slots int default 40, primary key (id) ); create
2003 Dec 03
6
Zone Scalability
I''m happily running two four zone/four nic shorewall firewall configuratoins. Great software, works as expected everytime! We are conteplating a larger and more complex firewall configuration that may include as many as twelve zones with trying to cram as many as 8+ interfaces into a single machine. Are there any draw backs to this amount of zones and interfaces into a single
2006 Mar 04
6
validation of aggregates
This may not be possible... I have an aggregation of clwholename defined in my model. the aggregation builds clwholename from :first_name, middle_initial, last_name and it generally works fine. I am trying to add a validation so while there may be many ''John'' first_names, and ''Doe'' last_names, I only want one ''John Doe'' so I tried...
2013 Jun 07
14
Puppet Windows package not seeing DisplayName in Registry?
Hello, I''ve got Package resource on my Windows machine that keeps creating itself even though the package has been properly installed. I''ve got the name attribute set to the DisplayName found in the Registry for the package. Every time the agent polls, I see in the Event Logs: /Stage[main]/Mssql_rtwo_sptwo/Package[mssql2008r2sp2_exec]/ensure: created This is
2006 Jul 26
8
change text_field_tag class
in my booking / _form I have the following input fields : (startdate and endate) <div> <label for="startdate">Booking Start Date</label><br /> <%= text_field_tag(''startdate'', @startdate, {:class => @startdateclass, :readonly => "readonly", :maxlength => "25"} ) %> <%= observe_field("startdate",
2005 Dec 23
5
Newbie question/help 2 tables, ''sync'' cell values
I have to << search for each problems.room_id=rooms.id and do problems.room_no=rooms.room >> HOW? More details: I have the following tables: - a "rooms" table, with fields (id,room,create...) - a "problems" table with fields (id,room_id,room_no, ...) problem.rb has belongs_to :room validates_associated :room and room.rb has validates_length_of :room,
2002 Nov 22
2
TC HTB Traffic Shaping
...tyle.. What would be also very nice, if some on has a config file for MRTG or what every other tool propose, if they can e-mail it to me, for me to atleast get an ideal, how to build up the TARGET that should be monitored.. Thnks __________________________________________________________________ Reginald Richardson ICQ#: 365841 Current ICQ status: + More ways to contact me __________________________________________________________________ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc....
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
2007 Dec 27
4
validates_file_format_of only when is there an image
i have a model with this: file_column :image validates_file_format_of :image, :in => ["gif", "png", "jpg"] If inthe form the user not insert the image i receive an error. If i remove: validates_file_format_of :image, :in => ["gif", "png", "jpg"] it works. Is possible do the validation only when user insert the image in form? i
2010 Mar 16
2
Samba issues with Solaris 10
Hello, I am configuring Samba for the first time and I have configured it on a Solaris 10 server. I believe I have everything setup correctly. The smbd daemon is running and I performed a test with the smbclient. The problem I'm now having is from the windows client. From the Windows client I map a drive, I log in with the user account and passwd, when I click to connect, I don't get
2003 Jan 01
8
Wondershaper
...ally, i then replaced all tc commands with run_tc, and i got the same message.. any ideas....maybe something i overlook, or is something else i might have to change in the wsharper.htb... or is this a LEAF specific problem...thnks __________________________________________________________________ Reginald Richardson ICQ#: 365841 Current ICQ status: + More ways to contact me __________________________________________________________________
2006 Mar 10
4
problem when looping through habtm children in a view
I have this code in a view: <% for topic in @topics %> <%= topic.id %> <%= topic.dr_title %><br/> <ul> <% for doc in topic.child_documents %> <%= doc.dr_title %><br/> <% doc = nil %> <% end %> </ul> <% end %> Though the topic titles and IDs display correctly,
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
...1.fortnights.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 k...
2006 Feb 11
6
models and validation problem
In my model, I am attempting to correct some bad data rather than just pass an error message back to the user. The problem is that my fix seems to get the data past validation but it then puts the bad data into the database rather than the new(and improved) data. If I pass in web_site with the value of ''www.test.com'', it will pass validation but it won''t add
2006 Jan 14
14
Javascript/AJAX Debugging
Hello ! I''m trying to implement something similar to the "multiple updates" section of the Web2.0 chapter of the Agile book. I implemented my version, and nothing is happening. No javascript errors, my logs look fine, page is rendered fine... just no Effect.Highlight. Here is the code: views/causes/cause_home/index.rhtml =============== <%= form_remote_tag(:complete =>
2006 Jan 30
4
dispatch.cgi Problem
Hey all, I''ve been battling with ruby configurations for days now...trying to get either SCGI or FCGI to work on my Apache 1.3/Linux Red Hat 3 server. I''ve pretty much gave up that battle since either of them will work with me after trying dozens of configurations, but now even when I try to run apps with dispatch.cgi I get this error in my log: "Premature end of
2006 Feb 03
7
how to add multiple new records from one form
I''m trying to provide our customers with a page where they can add up to 20 items to their cart in one form. The form simply has 20 rows with each row containing a text input for product code and a text input for quantity. I''ve tried having the controller create an array that has an object for each row by looping through something like: @new_items[1] = Cart.new and the
2006 Apr 18
6
Help with Forms
Hello, Ive been trying to sort out this problem for a couple of days now. Here''s my problem: Im builing an ajax form that has a repetitive sequence of similar form elements (tracking_id). <%= text_field "asset", "tracking_id", "index" => i, "class" => "case" %> <%= text_field "asset", "tracking_id",