Displaying 1 result from an estimated 1 matches for "trled".
Did you mean:
tried
2007 Jun 16
1
extending activerecord base with after_initialize
hi,
i am having problems getting after_initialize for activerecord
subclasses. basically, i am trying to use the guid plugin by andy
singleton. i am having problems extending the class to the plugins i
installed, so i figured i will just apply this to all the models in my
project. i trled to add the following to my lib/ folder. my goal is
to extended the activerecord class so that it uses guid everywhere.
but the after_initialize doesn''t seem to be kicking in. i think i m
missing a step in the self.included function, but not sure exactly
what. i tried to use the AR:valid...