Object
# File app/models/app_model2.rb, line 21 def self.list conditions = { :is_trash => false } out = self.where( conditions).order_by( :name => :asc ) [['', nil]] + out.map { |item| [ item.name, item.id ] } end
[Validate]
Generated with the Darkfish Rdoc Generator 2.