lib/wagons/extensions/application.rb in wagons-0.4.8 vs lib/wagons/extensions/application.rb in wagons-0.5.0
- old
+ new
@@ -13,10 +13,11 @@
ordered.unshift(array_deep_delete(ordered, w))
end
end
end
end
- alias_method_chain :ordered_railties, :wagons
+ alias ordered_railties_without_wagons ordered_railties
+ alias ordered_railties ordered_railties_with_wagons
private
def array_deep_delete(array, item)
array.delete(item) ||