Sha256: e9941d5fda5b72e874c212c109f6dad5d9ed67e9e2e6c5f5b4a02ee322286ea6
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
class Orms::MongoidOrmPrimalsController < Puffer::Base setup do group :mongoid model_name 'mongoid_orm/primal' end index do field :string_field field :symbol_field field :select_field, :select => (1..5).map {|i| "option #{i}"} field :integer_field field :float_field field :decimal_field field :datetime_field field :time_field field :date_field field :boolean_field field :array_field field :hash_field field :set_field field :range_field end form do field :has_one_reference do field :name end field :has_many_references do field :name end field :embeds_one_reference do field :name end field :embeds_many_references do field :name end field :string_field field :symbol_field field :select_field, :select => (1..5).map {|i| "option #{i}"} field :integer_field field :float_field field :decimal_field field :datetime_field field :time_field field :date_field field :boolean_field field :array_field field :hash_field field :set_field field :range_field end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.1.1 | spec/dummy/app/controllers/orms/mongoid_orm_primals_controller.rb |