[Rails-core] Re: Speeding up ActiveRecord

2012-08-24 Thread MikeGehard
> here. > > On Friday, August 17, 2012 3:41:04 PM UTC+3, MikeGehard wrote: >> >> Good morning all, >> >> I am wondering if there is any ongoing work to speed up ActiveRecord >> object instantiation from the database? I am working on a project where we >>

[Rails-core] Speeding up ActiveRecord

2012-08-17 Thread MikeGehard
Good morning all, I am wondering if there is any ongoing work to speed up ActiveRecord object instantiation from the database? I am working on a project where we have determined that loading AR records from the database has become a bottleneck in a coupe of spots. To alleviate this we have reso

Re: [Rails-core] ActiveRecord update_attribute vs update_attributes

2012-06-14 Thread MikeGehard
Thanks for the history lesson Xavier. Knowing that history, I like Steve's idea of deprecating update_attribute and advertising update_column as the fast way to update a single column and update_attributes as the way to run through the whole update "stack". On Thursday, June 14, 2012 5:39:38 AM

[Rails-core] ActiveRecord update_attribute vs update_attributes

2012-06-13 Thread MikeGehard
Greetings all, I would like to start a conversation about the subtle difference between update_attribute and update_attributes, namely that update_attribute skips validations and update_attributes does not skip validations. I know this has been around for a while but is Rails 4 the time to make

[Rails-core] Difference in generators between test unit and rspec

2011-09-07 Thread MikeGehard
All, I am working on getting factory_girl_rails to automatically configure itself as the fixture replacement when it is included in a project. I am seeing some strange behavior differences with the generators between test unit and rspec. When I run 'rails generate model User name:string' with on