Thanks a lot. The code below in engine.rb is exactly what I am looking for.
initializer 'hobo.dryml' do |app|
unless app.config.hobo.read_only_file_system
app.config.to_prepare do
Dryml::DrymlGenerator.run
end
end
end
I will alias_chain the Dryml::DrymlGenerator.run call to stop/observe side
effects of my application to the DrymlGenerator. I have a development
problem, not a production problem. Somehow, I have been able to kickoff
DRYML generator using different class name translations for the same class
for different current_users. I think I created a monkey test case (I am the
monkey) :) . Do something unexpected with Rails and get unexpected results.
There are 2 possible outcomes: a ) I fix my Rails code, b ) I suggest a
fix for Hobo. Now I am equipped to find out which.
.On Saturday, April 25, 2015 at 9:07:54 PM UTC+2, Ignacio Huerta wrote:
> Hi umuro,
>
> I tried answering in issue https://github.com/Hobo/hobo/issues/144, but
> I'm not sure if I got you right.
>
> One file you might want to check is
> https://github.com/Hobo/hobo/blob/master/hobo/lib/hobo/engine.rb . It
> contains most of the hooks and initializers Hobo is using.
>
> Warm regards,
> Ignacio
>
> El 17-04-2015 a las 21:18, umuro escribió:
> > What is the entry point to DRYML generation in rails?
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Hobo Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to [email protected] <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > To post to this group, send email to [email protected]
> <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > Visit this group at http://groups.google.com/group/hobousers.
> > For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.