Staszek
Not a member
Staszek's latest activity
Monday, December 27 2010
4873
Fail to force_reload polymorphic associations
was updated
in Ruby on Rails
-
Staszek commented at 6:39 PMI have also has this problem.
My suggestion is to change 'klass' or 'class_name' method from AssociationReflection. I think there is the problem. Changing whole...
Thursday, July 15 2010
5118
Not saved children does not have parent object in has many association
was updated
in Ruby on Rails
-
Staszek commented at 1:16 PMThank you. It looks like after https://rails.lighthouseapp.com/projects/8994/tickets/3533 documentation should be updated. Rdocs for 2.3.8 does not have any inf...
-
- Tag changed from associations, association_collection, belongs_to, hasmany to 2.x, associations, association_collection, belongs_to, hasmany
-
Staszek created the ticket at 10:58 AMWe have got 2 objects in has_many relation
class User has_many :movies end class Movie belongs_to :user endIf you create a parent object and the children t...
Tuesday, February 16 2010
3288
Using destroy on AR association collection updates the collection in memory.
was updated
in Ruby on Rails
-
Staszek commented at 1:06 PMI think it is not good idea to have access to destroyed record. You have to be very careful when you using it, but if you really want to have this destroyed obj...
Monday, February 15 2010
3964
Destroy for association collection does not delete object from parent array
was created
in Ruby on Rails
-
Staszek created the ticket at 1:19 PMWe have normal one_to_many association
class User < ActiveRecord::Base has_many :movies end class Movie < ActiveRecord::Base belongs_to :user ...