Re: Issue w/ Eager Loading

Paul Taylor
Tue, 12 Jun 2007 18:18:16 -0000

Rob Biedenharn wrote:
>
> and if you need to include a :conditions option when you
> have :include''s, you need to indicate the table such as
> :conditions => [ ''core_routers.installed_on < ? AND
ports.in_use = ?'',
>                   1.year.ago.beginning_of_day.to_s(:db), true ]
>

Thanks Rob - I don''t need this yet, but might!