search for: mygemengin

Displaying 1 result from an estimated 1 matches for "mygemengin".

Did you mean: mygemengine
2011 May 29
4
Model load time
...on ruby 1.8.7 My application models are: Curso Legislacao Usuario And I have another model that is loaded from a gem Im trying to build: Cidade My gem is actually a simple engine: require ''active_record'' require ''my_gem/app/models/cidade'' module MyGem class MyGemEngine < Rails::Engine config.to_prepare do puts ActiveRecord::Base.descendants end end When I start the server it prints, as expected: => Booting Mongrel => Rails 3.1.0.rc1 application starting in development on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutd...