I''m writing to announce the first release of select_with_include gem. This gem allows the use of the :select option together with the :include in the #find ActiveRecord method. In the current ActiveRecord version if a #find has the :include option specified the :select will be ignored returning always all the fields of every single table; select_with_include modifies this behavior providing a limited support of the :select option. Depending by the number of the columns in your tables and the depth of your associations select_with_include can really improve the performance in terms of speed and memory usage of ActiveRecord The gem can be installed with the usual gem install select_with_include more details are provided at http://assertbuggy.blogspot.com/2007/05/activerecord-select-with-include.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Paolo Negri wrote:> I''m writing to announce the first release of select_with_include gem. > > This gem allows the use of the :select option together with > the :include in the #find ActiveRecord method. > > In the current ActiveRecord version if a #find has the :include option > specified the :select will be ignored returning always all the fields > of every single table; select_with_include modifies this behavior > providing a limited support of the :select option. > Depending by the number of the columns in your tables and the depth of > your associations select_with_include can really improve the > performance in terms of speed and memory usage of ActiveRecord > > The gem can be installed with the usual > > gem install select_with_include > > more details are provided at > > http://assertbuggy.blogspot.com/2007/05/activerecord-select-with-include.htmlDid you stop developing the gem? Is it compatible with Rails 2.x? Anyone suing it? Are there real benefits? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---