Noosfero/noosfero

View on GitHub
plugins/shopping_cart/db/migrate/20131226125124_move_shopping_cart_purchase_order_to_orders_plugin_order.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method up has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.up
    OrdersPlugin::Order.record_timestamps = false

    ShoppingCartPlugin::PurchaseOrder.order("created_at ASC").find_each do |purchase_order|
      data = purchase_order.data

    There are no issues that match your filters.

    Category
    Status