search for: ryann

Displaying 1 result from an estimated 1 matches for "ryann".

Did you mean: ryan
2006 Mar 24
6
Should counter_cache fields be saved in the database?
...and delete associated children. However, that does not seem to be the case. For example, I create a new parent and child in the console and verify the number of children. When I quit and restart the console, however, the children_size column is 0. [flashbang:...WebContent/rails/development/test] ryann% ./script/console Loading development environment. >> parent = Parent.create => #<Parent:0x2385f24 @new_record_before_save=false, @new_record=false, @errors=#<ActiveRecord::Errors:0x2351dc8 @errors={}, @base=#<Parent:0x2385f24 ...>>, @attributes={"name"=>nil, &q...