mixr
Not a member
mixr's latest activity
Monday, February 07 2011
5829
ActiveRecord::Relation#empty? fails for grouped relations, as OrderedHash is ...
was updated
in Ruby on Rails
-
mixr commented at 4:37 PMThis is quite annoying. But since most results are iterated over anyway, you could just use .to_a.empty? or .all.empty?:
(of course this is only sensible when l...
Monday, August 23 2010
5242
ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone away
was updated
in Ruby on Rails
-
mixr commented at 12:07 AMHi,
i wanted to add that i'm quite sure the problem also exists for a non-idle app. In my setup a cronjob calls a certain controller every minute and there are ...