Permalink
Browse files

Delete dep. constants.

Signed-off-by: Roman Le Négrate <roman.lenegrate@gmail.com>
  • Loading branch information...
1 parent 9c74f59 commit b22b87162bd63b1bfa04cca46b228238b0441054 thedarkone committed with Jan 1, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rails_development_boost/dependencies_patch.rb
@@ -82,7 +82,7 @@ def handle_connected_constants(object, const_name)
end
def remove_explicit_dependencies_of(const_name)
- explicit_dependencies[const_name].each {|depending_const| remove_constant(depending_const)} if explicit_dependencies[const_name]
+ explicit_dependencies.delete(const_name).uniq.each {|depending_const| remove_constant(depending_const)} if explicit_dependencies[const_name]
end
def clear_tracks_of_removed_const(const_name)

0 comments on commit b22b871

Please sign in to comment.