Class | Ramaze::Form |
In: |
lib/ramaze/helper/sequel_form.rb
|
Parent: | Object |
SECONDS | = | (1900..2100), (1..12), (1..31), (0..23), (0..59), (0..59) |
DATE_GENERIC | = | [ [ :day, DAYS ], [ :month, MONTHS ], [ :year, YEARS ] ] |
TIME_GENERIC | = | [ [ :day, DAYS ], [ :month, MONTHS ], [ :year, YEARS ], [ :hour, HOURS ], [ :min, MINUTES ], [ :sec, SECONDS ] ] |
object | [RW] | |
options | [RW] |
TODO:
How _elegant_ ... Tries to find the right module for extending the Form instance. It's problematic since the boundaries of what an model instance or model class looks like is very fuzzy, also a problem is that the ORM may not be available/required. Maybe we can abstract that a bit by going through an array of procs for testing?