railsbob
Not a member
railsbob's latest activity
Sunday, August 09 2009
1255
time.end_of_day not entirely accurate
was updated
in Ruby on Rails
1845
Finder methods ignore :include in has_many :through
was updated
in Ruby on Rails
-
railsbob commented at 1:08 PMverified
This error is reproducible. The error is caused because options[:include] was assigned nil in has_many_through_association.rb.
def construct_find_opti...
Saturday, August 08 2009
2934
association_collection#create acts as association_collection#create!
was updated
in Ruby on Rails
-
railsbob commented at 11:48 PMAs discussed with lifo, the previous patch is modifying << method. I am attaching another patch, which removes << from create method.
-
railsbob commented at 9:04 PMSorry, please ignore the previous patch (whitespace error). This one applies cleanly.
-
-
-
railsbob commented at 12:21 PMVerified
I was able to reproduce this error with the help of mentioned example.
2493
Eager Loading With :limit Returns Wrong Result Set (MySQL)
was updated
in Ruby on Rails
-
railsbob commented at 3:34 AMSorry for the formatting mess, the tables were supposed to be:
Data in Table 'as': +----+------+ | id | name | +----+------+ | 1 | A1 | | 2 | A2 | | ... -
railsbob commented at 3:32 AMVerified
I was able to test this using following scenario:
class A < ActiveRecord::Base has_many :bs, :select => 'id, position, a_id' end class B <...