Displaying 1 result from an estimated 1 matches for "reference_data_lists".
2013 May 09
0
Rails 4.0.0.rc1 - A copy of <class> has been removed from the module tree but is still active!
...fter restarting the server but if I made a code change again and send a
request, the error would appear again.
This is what is in development.rb for reloading Reference::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 doe...