search for: leanest

Displaying 6 results from an estimated 6 matches for "leanest".

Did you mean: cleanest
2007 Dec 06
1
Leanest way to query with the results in a typed hash ?
I''m querying many thousands of rows in a table, and would like the result to be a hash with the values in the correct types eg. Time, String, Fixnum. I''d rather not use the normal find() as that creates model objects with all their memory requirements. Is there a simple solution, or should I put something together from the Rails source ? Regards, magpie -- Posted via
2007 Dec 31
2
Conditional Float Precision
I''m trying to figure out the best way (and hopefully leanest) to conditionally have precision to a float number. Here''s what I''m doing... I have a float (which has a default precision of 1) so like 250.0 What I want to do is have the precision go to 0 if the value after the . is 0 = so 250.0 would show as 250, but 250.5 would show 250.5....
2010 Jun 03
7
Scheduled tasks in Rails: Cron + wget = Best solution?
Hi there, do you agree that for having scheduled tasks in Rails, the leanest solution is the following? - Create a controller with an action for each task - Implement the logic of the task as controller code - Set up a cron job at the OS level that uses wget to invoke the URL of this controller/action at the appropriate time intervals Advantages: 1) full access to all you...
2004 Apr 06
20
Off topic
...ux on really old machines before. Other than not installing Xwindows on this machine are there any other recommended considerations or things that I should look out for? I want to try and keep this machine as lean as possible. I will be installing Gentoo Linux on his system which will allow for the leanest install of Linux. Thanks, Joshua Banks
2002 Feb 28
2
how to disable homedirs?
Hi, how can i disable the homedir? I have a Domain login configuration, but do not want server based profiles. After I add a workstation to the domain, the user profiles, created during the first login of a domain user, on that machine are always server based. Sure, I can change this profile to a local profile, but I think I can change this it in the samba configuration, that all profiles are
2009 Mar 12
0
assert_xhtml - test your HTML by example
Rubies: My quest to get the maximum coverage & diagnostics from the leanest possible tests has reached a new level. This is a Rails functional test on an HTML form: user = users(:Moses) get :edit_user, :id => user.id assert_xhtml do form :action => ''/users'' do fieldset do legend ''Personal Infor...