Sha256: c163db6fb4e06d30421509239c5cd952c0acd7a5020591cf844df17b335b30b7
Contents?: true
Size: 920 Bytes
Versions: 2
Compression:
Stored size: 920 Bytes
Contents
class Orms::ActiveRecordOrmPrimalsController < Puffer::Base setup do group :active_record model_name 'active_record_orm/primal' end index do field :string_field field :text_field field :select_field, :select => (1..5).map {|i| "option #{i}"} field :integer_field field :float_field field :decimal_field field :datetime_field field :timestamp_field field :time_field field :date_field field :boolean_field end form do field :has_one_reference do field :name end field :has_many_references do field :name end field :string_field field :text_field field :select_field, :select => (1..5).map {|i| "option #{i}"} field :integer_field field :float_field field :decimal_field field :datetime_field field :timestamp_field field :time_field field :date_field field :boolean_field end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
puffer-0.1.1 | spec/dummy/app/controllers/orms/active_record_orm_primals_controller.rb |
puffer-0.1.0 | spec/dummy/app/controllers/orms/active_record_orm_primals_controller.rb |