lots of pain. • If you must in your consuming application, use ActiveSupport’s require_dependency to override: require_dependency Thomas::Engine.root.join(“app/models/user”).to_s class User < ActiveRecord::Base #override the engine here end Saturday, April 28, 2012
I18n.load_path.delete_if do |p| p =~ /devise\-/ end #put devise’s default locales in its place I18n.load_path = paths + I18n.load_path I18n.reload! end end Saturday, April 28, 2012
credentials in plaintext • Maintain your own gem server • Write a rake task to vendor the gem and commit when deploying • NEW: http://www.gemfury.com/ Saturday, April 28, 2012