search for: schertell

Displaying 9 results from an estimated 9 matches for "schertell".

Did you mean: hertell
2006 Apr 04
4
Maintaining and securing the "Perfect Rails/Debian/Lighttpd Stack"
Hi there I''m planning to build "The Perfect Rails/Debian/Lighttpd Stack", published by Ezra Zygmuntowicz and Sean Schertell at http://brainspl.at/rails_stack.html I''m wondering what sort of constant maintanance that setup would incur. What actions have be regularly performed to keep this setup healthy and secure under normal conditions? Alder
2006 Jan 02
5
How to use MySQL sum() to get total of column?
Easy one: Let''s say I have a table called ''employees'' with a column called salaries, how can I add Employee.salaries_total to the model? Thanks! -- Posted via http://www.ruby-forum.com/.
2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails doesn''t do any housekeeping, my /tmp directory just keeps getting fatter and fatter. I found this useless snippet in the Agile book: find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h'' he
2005 Dec 18
13
calculate age based on DoB
Hi, I wrote a little helper that calulates someone''s age based on his/her date of birth. def age(dob) diff = Date.today - dob age = (diff / 365.25).floor age.to_s end It works fine, but it''s not completely accurate as it just takes the average days in a year. It should be able to calculate this more accurately, right? I can''t work it out
2006 Jan 27
1
Code snippet request: Text email with attachment
I tried following this wiki tutorial: http://wiki.rubyonrails.org/rails/pages/HowToSendMimeMultipartEmailsWithActionMailer But I''m getting lots of errors and suspect that there may be mistakes in the code. Anyone got a snippet of a *working* multipart email (maybe using TMail) ? Thanks! -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
2
Fedora Core 2, cPanel and Ruby
Hi, i have a live server with Fedora Core 2 and cpanel. I want to install Ruby 1.8.2, so i can use rails, but it has some dependencies that need to swith the computer to Fedora 3. It requires a new version of openssl, which breaks dependencies in a LOT of packages. What do you recommend me to do? Update the whole system (how?), use some kind of chroot to install the new version of ruby...?
2006 Jan 05
13
Date Validation
Hi, How can I validate date in model class Thanks. Sainaba. -- Posted via http://www.ruby-forum.com/.
2006 Jan 27
59
Why Macs instead of AMD or Intel ? Just curious
My first computer was a Mac (SE30) but it was also my last so I am not without appreciation of Apples wonderful aptitude for design. Without starting a flame-fest why do so many ruby and rails developers use a Mac ? It seems to be a commonality within the ruby and RoR community. Especially laptops. The first ruby users group meeting I attended was about 50% Macs (or so it seemed to me - I
2005 Dec 22
0
Any way to add ''onchange'' to a ''select'' helper?
I basically have a select menu with two options: -- Leave password unchanged -- -- Enter new password below -- I want my form to use a sexy prototype effect to SlideDown the text field when the second option is selected. That way the user isn''t confused by a blank password field when they''ve selected to leave the password unchanged. Can I do this with Rails''s