Class: Formidable::Elements::DateSelectField
- Inherits:
-
Element
- Object
- BasicElement
- Element
- Formidable::Elements::DateSelectField
- Defined in:
- lib/formidable/elements.rb
Overview
zna to svoje name => vi kde v params to najit “27-07-2010” => #<Date:x0>
Constant Summary
Constants included from Coercions
Coercions::IncompatibleInterface, Coercions::MissingCoercion
Constants included from Rendering
Rendering::RendererNotAssigned
Instance Attribute Summary
Attributes inherited from BasicElement
#attributes, #cleaned_data, #content, #name, #raw_data, #tag
Attributes included from Rendering
Instance Method Summary collapse
-
#deserialize ⇒ Object
TOHLE BUDE TADY.
Methods included from Coercions
#cleaned_data, #coerce, #coerce!, #coercions, coercions, included
Methods included from Validations
#errors, register_validation, #valid?, #validate, #validations
Methods inherited from BasicElement
Methods included from Rendering
Constructor Details
This class inherits a constructor from Formidable::Elements::BasicElement
Instance Method Details
#deserialize ⇒ Object
TOHLE BUDE TADY
329 330 331 332 333 334 |
# File 'lib/formidable/elements.rb', line 329 def deserialize # [:post, :title] self.name.inject(params) do |hash, key| hash[key] end end |