Sha256: 6fc4bd77c00f5a33cf8ec062edeeaf1af0c07cf9d72c44db478b589a860ee0e6

Contents?: true

Size: 172 Bytes

Versions: 20

Compression:

Stored size: 172 Bytes

Contents

class OrangeContactForms < Orange::Carton
  id
  admin do
    title :title
    text :to_address
  end
  
  def self.named(tag)
    all(:title.like => "%#{tag}%")
  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
orange-more-0.5.8 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-more-0.5.7 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.5.5 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.5.4 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.5.3 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.5.2 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.5.1 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.4.0 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.9 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.8 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.7 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.6 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.5 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.4 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.3 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.2 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.1 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.3.0 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.2.11 lib/orange-more/contactforms/cartons/contactforms_carton.rb
orange-0.2.9 lib/orange-more/contactforms/cartons/contactforms_carton.rb