app/models/contact_form.rb in noodall-form-builder-0.0.3 vs app/models/contact_form.rb in noodall-form-builder-0.0.4
- old
+ new
@@ -5,10 +5,10 @@
allowed_positions :wide
module ClassMethods
def form_options
- lists = Noodall::Form.all(:order => 'title ASC')
+ lists = Noodall::Form.all(:fields => [:id, :title], :order => 'title ASC')
lists.collect{|l| [l.title, l.id.to_s]}
end
end
extend ClassMethods