ActiveRecord::Base
(Not documented)
# File lib/app/models/annotation_value_seed.rb, line 5 5: def self.find_by_attribute_name(attrib_name) 6: return [] if attrib_name.blank? 7: 8: AnnotationValueSeed.find(:all, 9: :joins => "JOIN annotation_attributes ON annotation_value_seeds.attribute_id = annotation_attributes.id", 10: :conditions => [ "annotation_attributes.name = ?", 11: attrib_name.strip.downcase ], 12: :order => "created_at DESC") 13: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.