Displaying 3 results from an estimated 3 matches for "number_of_us".
Did you mean:
number_of_
2006 Jul 27
1
get value from array
Hi,
Ive got an array, and when I run @aArray.inspect in the view it outputs
[#"45", "id"=>"1"}>]
how can I just output the number 45?
thanks
dave
--
Posted via http://www.ruby-forum.com/.
2005 Mar 04
3
Boolean values
...not the one specified by the
> schema nor one specified by the user/code - it''s some random time that''s
> ''pretty close'' to those ones. i agree that in 97% percent of case it''ll be
> pretty damn close - but we all those kind of bugs are days * number_of_users
> in
> the unmaking.
>
>> Thinking about this just a little bit more, I would argue that this should
>> simply be a FAQ / Wiki entry. This whole issue is resolved by doing:
>>
>> class Foo < ActiveRecord::Base
>> protected
>> def after_create...
2005 Mar 03
12
bug in postgresql ''now'' time handling??
line 212 of postgresql_adapter.rb is
return Time.now.to_s if value =~ /^\(''now''::text\)::(date|timestamp)/
i don''t think this will work. in postgresql the field ''now'' is pinned to the
SAME TIME for the duration of a transaction. eg. if you do
begin transaction;
insert into t values(42, ''now'');
# sleep one minute