Class: OrangeContactForms

Inherits:
Orange::Carton show all
Defined in:
lib/orange-more/contactforms/cartons/contactforms_carton.rb

Constant Summary

Constants inherited from Orange::Carton

Orange::Carton::SCAFFOLD_OPTIONS

Class Method Summary collapse

Methods inherited from Orange::Carton

add_scaffold, admin, admin_property, as_resource, asset, boolean, date, datetime, expose, form_props, front, front_property, fulltext, id, init, orange, orange_property, scaffold_property, string, text, time, title, #to_s

Methods included from ClassInheritableAttributes

#cattr_accessor, #cattr_reader, #cattr_writer, eval_in_accessor_module, fetch_value, store_value

Class Method Details

.named(tag) ⇒ Object



8
9
10
# File 'lib/orange-more/contactforms/cartons/contactforms_carton.rb', line 8

def self.named(tag)
  all(:title.like => "%#{tag}%")
end