Displaying 3 results from an estimated 3 matches for "fooditem".
2012 Sep 18
2
Formula in a data-frame
Hello all,
I'm new in R, and I have a data-frame like this (dput information below):
Specie Fooditem Occurrence Volume
1 Schizodon vegetal 1 0.05
2 Schizodon sediment 1 0.60
3 Schizodon vegetal 1 0.15
4 Schizodon alga 1 0.05
5 Schizodon sediment 1 0.90
6 Schizodon sediment...
2007 May 08
2
Limit + Conditions = Confusion
Hi,
Could you please explain the :limit to me? I thought I knew what it was
but now it seems I''ve misunderstood something.
>> Fooditem.find_by_contents("*quark*", {:limit => 10}, {:conditions => ["origin = ?", "fda"]}).length
=> 1
>> Fooditem.find_by_contents("*quark*", {:limit => 2000000}, {:conditions => ["origin = ?", "fda"]}).length
=> 8
So i...
2006 Aug 17
6
Rails and Checkboxes
Hi
I''m having a really hard time trying to get a specific form in RoR to
work. I''m trying to build a really simple page which lets the user make
a pizza by setting check boxes. The choose their toppings, click submit
and the form does a callback and shows them how much it will cost to
have a pizza with those toppings on.
At the moment I have the following:
View:
<%=