911: def find_all(runtime_conditions = nil, orderings = nil, limit = nil, joins = nil)
912: if @options[:finder_sql]
913: @association_class.find(@finder_sql)
914: else
915: selector = if runtime_conditions
916: runtime_conditions_block = @association_class.build_conditions_from_options(:conditions => runtime_conditions)
917: lambda{|rec| runtime_conditions_block[rec] && @finder_sql[rec] }
918: else
919: @finder_sql
920: end
921: orderings ||= @options[:order]
922: @association_class.find_all(selector, orderings, limit, joins)
923: end
924: end