Putting it in ~/web/lib is correct, but did you also require it from an initializer?
1. Create an initializer in ~/web/config/initializers called patches.rb
2. In the file put require File.join(Rails.root, 'lib', 'active_record_ndbcluster.rb')
3. Restart your webserver/Rails console
It should then work
沒有留言:
張貼留言