On Miércoles, 17 de Marzo de 2010 09:39:36 andrea escribió:
> The alias method chain wich alias the initialize for active scaffold
> column with new initializer with validation reflection seems not
> work.
Do you have an up to date AS? Do you have this line in
lib/bridges/validation_reflection/lib/validation_reflection_bridge.rb?
base.class_eval { alias_method_chain :initialize, :validation_reflection }
It's working here.
>
> On 16 Mar, 19:01, andrea <[email protected]> wrote:
> > With the latest AS (git://github.com/activescaffold/
> > active_scaffold.git) and the latest validation reflection plugin
> > (git://github.com/redinger/validation_reflection.git), the required
> > column property is not automatically set to true, when i have
> > validations on model (validates_presence_of).
> > This seems associated to the git commit where validation reflection is
> > moved to bridge.
> >
> > Thanks for support.
--
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.