search for: tagua

Displaying 4 results from an estimated 4 matches for "tagua".

Did you mean: jagua
2008 Jan 18
2
validate mac address field
Hi to all, i''d like to insert a validation inside my model about a mac address field. I''ve used this sintax but it''s not working. validates_format_of :mac_address, :with => /^((?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9])+(?:[-a-f0-9]))$/i, :on => :create,
2010 Jul 08
25
Prepared SQL statements
Dear all great developers. I wonder if there is any work being done or thoughts being shared regarding prepared SQL statements. Currently I am in heavy need of tuning SQL INSERTS that insert large (3MB) images into blobs. I am using rails 2.3.5 with postgres adapter and pg driver. Any information would be appreciated. Jarl -- You received this message because you are subscribed to the
2008 Mar 18
0
Case sensitive validate_uniqueness_of isn't working
Hi, validate_uniqueness_of has the option :case_sensitive, this option is true by default, there are tests to check that :case_sensitive => false is working, but there isn''t any test to check that, when set to true (the default!), is working, in fact it doesn''t work at. There isn''t a database agnostic way to do a case sensitive search, there is in myql (binary like)
2008 Mar 28
0
Patch review request: validates_numericality_of does not replace option in custom message like in default message
Hi, Today someone created a ticket for a defect in validates_numericality_of, at first sight i thought it wasn''t a defect but an enhancement. But then i found that validates_length_of accepts :message => "should be greater than %d", but validates_numericality_of doesn''t (The output for v_n_o is: "should be greater than %d" instead of "should be