Friday, August 17, 2012

Run specify code in Rails after system initialization completed


For development environment,  /config/environments/development.rb
config.after_initialize do
  ...
end

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.