oleg dashevskii
Not a member
oleg dashevskii's latest activity
Wednesday, August 25 2010
Tuesday, August 24 2010
5441
ActiveRecord::Calculations#count doesn't allow table names in column_name arg...
was updated
in Ruby on Rails
-
oleg dashevskii commented at 4:29 PM
Well, let's simplify the example:
User.count('orders.id', :joins => :orders, :group => 'users.id')Schema: User has many orders.
The
count()call without:gro... -
oleg dashevskii created the ticket at 2:19 PM
I have the following code that works in 2.3.8
@dishes.count('order_items.id', :group => 'dishes.id', :joins => {:multi_dishes => { ...
5442
Model.has_many_through_association.find(id) returns a read-only record
was created
in Ruby on Rails
-
oleg dashevskii created the ticket at 2:49 PM
I have the following models:
class Provider < AR::Base has_many :dish_types has_many :dishes, :through => :dish_types end class DishType < AR::Base has_...
5436
RC1 to RC2 regression : multilines where conditions autojoin with "AND"
was updated
in Ruby on Rails
-
oleg dashevskii commented at 1:40 PM
Got bitten by it too. Quick workaround is to add backslash:
class User < ActiveRecord::Base scope :test_scope, where("active = ? \ ...
Thursday, July 08 2010
4869
[PATCH] A bug in ActiveRecord::Associations#using_limitable_reflections
was updated
in Ruby on Rails
-
oleg dashevskii commented at 8:30 AM
Actually, it's http://github.com/rails/rails/commit/c48a71c7#L0L1786 where bug has been introduced.
Thursday, June 17 2010
4869
[PATCH] A bug in ActiveRecord::Associations#using_limitable_reflections
was updated
in Ruby on Rails
-
- Title changed from A bug in ActiveRecord::Associations#using_limitable_reflections to [PATCH] A bug in ActiveRecord::Associations#using_limitable_reflections
Wednesday, June 16 2010
4869
A bug in ActiveRecord::Associations#using_limitable_reflections
was created
in Ruby on Rails
-
oleg dashevskii created the ticket at 5:40 AM
After 2.3.5 to 2.3.8 transition I found unexpected breakage in my code:
OrderItem.sum(:quantity, { :joins => [:menu_item, :order], :group => 'menu_items.d...
Tuesday, July 07 2009
2160
nested_attributes: validates_uniqueness_of fails
was updated
in Ruby on Rails
-
- Tag changed from 2.3-rc2 to 2.3.x
I've run into same problem. Test is attached.