Rails Development Reload
TO realod in development mode for Rails
# config/environments/development.rb
ActionDispatch::Reloader.to_prepare do
load Rails.root.join('lib/my_init.rb')
end
Written by Dinesh Vasudevan
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#