Rafael Mendonça França
|
15f0101545
|
Pass the options hash instead of the Leaf object
Right now we only care about the options so lets make the code simpler
|
2014-03-11 19:41:25 -03:00 |
|
Rafael Mendonça França
|
e9384fb4bd
|
Whitespaces
|
2014-03-11 19:13:59 -03:00 |
|
Rafael Mendonça França
|
44f22ca3fb
|
Make context optional
We plan to make it required in the future but it is optional now to make
easier to implement backwards compatibility
|
2014-03-11 15:22:45 -03:00 |
|
Rafael Mendonça França
|
645988a855
|
Pass the context when rendering the component
|
2014-03-10 18:41:36 -03:00 |
|
Rafael Mendonça França
|
274d6ec111
|
Check by the validation kind method instead of the full constant
|
2012-10-03 00:05:47 -03:00 |
|
Balazs Nagy
|
c4db622757
|
Don't leak out minimum or maximum values when MinMax component is in use.
It used to emit the last calculated value in bare string just before
label.
|
2012-03-01 00:08:24 +01:00 |
|
Vasiliy Ermolovich
|
6c8a2d57cb
|
add support for proc or lambda as an option for FormatValidator
|
2012-01-01 17:32:08 +03:00 |
|
Carlos Antonio da Silva
|
89a6829ded
|
Only check for existence of validators when trying to find them
This allows a bit of cleanup on some components which are always
checking for has_validators? before doing the validators lookup.
|
2011-12-10 16:08:04 -02:00 |
|
José Valim
|
f883b20b94
|
Make min_max also a component.
|
2011-12-04 16:31:13 +01:00 |
|