Displaying 5 results from an estimated 5 matches for "vs0qjmycyyso2dcxjlvatqe2ktcn".
2005 Nov 29
1
[OT] Sanitizing Characters In Pasted Text
Because Microsoft Word changes quotes to curly quotes, double dashes to
en-dashes, etc., copied / pasted text from Word into a textarea can contain
characters not rendered the same in all browsers. Put more bluntly, when
they paste from Word, it looks like cr@p on my Mac.
I¹ve seen this question asked before, but never seen the answer. Is there
any translation table between Word¹s special
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2005 Oct 28
4
find_by_sql column types
Hello--
There must be a better way to do this. I have a class method in my model
that finds averages and does a few calculations using find_by_sql. The
problem I¹m encountering is that all computed columns from MySQL come back
as type string. E.g.,
def self.find_averages(domain_id)
if @@domain_average
return @@domain_average
else
@@domain_average =
2005 Aug 04
0
Rails Date/Time Validation and Parsing
I''m kind of getting my brain around Rails''ey things. Dates are an annoyance
no matter what the language, but in keeping with DRY, I''m looking for
something like:
validates_date :between => 4/8/2002..5/29/2009
Or something like that.
Additionally, it seems someone somewhere must have created a wrapper around
strtotime. What I''m looking for is a way to parse
2005 Sep 06
1
US Date Handling in Rails
My application is built on Rails and MySQL. It will only be accepting US
formatted dates as input, however both Rails and MySQL are oriented around
ISO the format. I know I can convert a good portion of the entries using
ParseDate::parsedate but it does not appear this is how the conversion is
taking place when data is being transferred from the params hash into model
members.
Say I have a field