Displaying 1 result from an estimated 1 matches for "autoload_once_paths".
2013 May 09
0
Rails 4.0.0.rc1 - A copy of <class> has been removed from the module tree but is still active!
...ference::Base.
*
*
*config.to_prepare do
*
* Reference::DataTypes.reload if
ActiveRecord::Base.connection.table_exists? ''reference_data_lists''*
* end*
I found several other older posts that talk about this topic. One being
[1]. Adding "*ActiveSupport::Dependencies.autoload_once_paths <<
"#{Rails.root}/app/models/reference/base"*" to environment.rb does fix the
issue for me. My question is why does this error occur when my app is
upgraded to Rails 4.0.0.rc1 but works fine when it was on Rails 3.2.13?
What is new in Rails 4.0.0.rc1 that causes this behavi...