Displaying 2 results from an estimated 2 matches for "month5".
Did you mean:
months
2009 Mar 06
1
Interpreting GLM coefficients
...4.758455e-01 -1.270986e-04 -5.436199e-01
-1.068809e-01 -1.498580e-01 2.958462e-01 1.316589e-01
-1.328204e-01 -1.605802e-01 5.281869e-03 7.422885e-02
Hours Fishers Month1 Month2
Month3 Month4 Month5 Month6
Month7 Month8 Month9 Month10
9.772076e-02 -2.709955e-03 -1.586887e-01 -1.887837e-02
-5.183241e-03 5.870942e-02 7.075386e-02 2.061223e-02
7.372268e-03 -1.204835e-02 -5.047994e-03 2.441498e-02...
2006 Nov 29
2
Unexpected behaviour looping an array in a model.
...',4],[''1 Month'',5]]
Returning a .type on QCC.config(:product_availability) from within
Product.rb confirms it''s an array and is the array I''m expecting,
however the output from the product_availability_label method is
"Immediate11 Week22 Weeks33 Weeks41 Month5", rather than the expected
"Immediate" (in the instance where self.availability is 1). No errors
are raised.
I know I could do this from within a helper, but before I make any
alterations, I''d rather understand what''s going on. I''m using Ruby
1.8.5, Rails...