Ruby on Rails Sunday, February 5, 2017

Hi everbody,

I am working on a Rails Project using OrientDB as Database ( )
This gem initializes any available database-class and assigns it to model-classes.

For me its convenient to  recognize, which database-classes are found, when starting the console.

Thus I patched the source in railties/rails/lib/commands/console.rb 

Obviously, I am not happy with this dirty approach. 

How is this done properly? 

in detail:
I want to execute some ruby-code after any initialization of the core and before the first command can be entered.
This code prints out some status information.

Any help is appreciated

greetings from Stuttgart

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment