You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Ruby 2.1.0, Rake 10.4.2, Spree 2.3.7 and rails-erd 1.1.0 I'm getting a lot of warnings and a breaking error when running rake erd. Do you have a hint on how to investigate that?
➜ renuo_spree git:(feature/2850) ✗ rake erd --trace
** Invoke erd (first_time)
** Invoke erd:generate (first_time)
** Invoke erd:options (first_time)
** Execute erd:options
** Invoke erd:load_models (first_time)
** Execute erd:load_models
Loading application environment...
** Invoke environment (first_time)
** Execute environment
Loading code in search of Active Record models...
** Execute erd:generate
Generating Entity-Relationship Diagram for 110 models...
Warning: Ignoring invalid association :prototype on Spree::OptionType::HABTM_Prototypes (model Spree::Prototype exists, but is not included in domain)
Warning: Ignoring invalid association :prototype on Spree::Property::HABTM_Prototypes (model Spree::Prototype exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::User (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :zone on Spree::ShippingMethod::HABTM_Zones (model Spree::Zone exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :product_option_types on Spree::OptionType (model Spree::ProductOptionType exists, but is not included in domain)
Warning: Ignoring invalid association :prototypes on Spree::OptionType (model Spree::Prototype exists, but is not included in domain)
Warning: Ignoring invalid association :product_option_types on Spree::Product (model Spree::ProductOptionType exists, but is not included in domain)
Warning: Ignoring invalid association :product_properties on Spree::Product (model Spree::ProductProperty exists, but is not included in domain)
Warning: Ignoring invalid association :tax_category on Spree::Product (model Spree::TaxCategory exists, but is not included in domain)
Warning: Ignoring invalid association :shipping_category on Spree::Product (model Spree::ShippingCategory exists, but is not included in domain)
Warning: Ignoring invalid association :line_items on Spree::Product (model Spree::LineItem exists, but is not included in domain)
Warning: Ignoring invalid association :sale_prices on Spree::Product (model Spree::SalePrice exists, but is not included in domain)
Warning: Ignoring invalid association :stock_movements on Spree::Product (model Spree::StockMovement exists, but is not included in domain)
Warning: Ignoring invalid association :prototypes on Spree::Property (model Spree::Prototype exists, but is not included in domain)
Warning: Ignoring invalid association :product_properties on Spree::Property (model Spree::ProductProperty exists, but is not included in domain)
Warning: Ignoring invalid association :country on Spree::Address (model Spree::Country exists, but is not included in domain)
Warning: Ignoring invalid association :state on Spree::Address (model Spree::State exists, but is not included in domain)
Warning: Ignoring invalid association :shipments on Spree::Address (model Spree::Shipment exists, but is not included in domain)
Warning: Ignoring invalid association :state_changes on Spree::Order (model Spree::StateChange exists, but is not included in domain)
Warning: Ignoring invalid association :line_items on Spree::Order (model Spree::LineItem exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::Order (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :return_authorizations on Spree::Order (model Spree::ReturnAuthorization exists, but is not included in domain)
Warning: Ignoring invalid association :adjustments on Spree::Order (model Spree::Adjustment exists, but is not included in domain)
Warning: Ignoring invalid association :line_item_adjustments on Spree::Order (model Spree::Adjustment exists, but is not included in domain)
Warning: Ignoring invalid association :shipment_adjustments on Spree::Order (model Spree::Adjustment exists, but is not included in domain)
Warning: Ignoring invalid association :inventory_units on Spree::Order (model Spree::InventoryUnit exists, but is not included in domain)
Warning: Ignoring invalid association :shipments on Spree::Order (model Spree::Shipment exists, but is not included in domain)
Warning: Ignoring invalid association :source on Spree::Order (model Spree::Chimpy::OrderSource exists, but is not included in domain)
Warning: Ignoring invalid association :shipping_method_categories on Spree::ShippingMethod (model Spree::ShippingMethodCategory exists, but is not included in domain)
Warning: Ignoring invalid association :shipping_categories on Spree::ShippingMethod (model Spree::ShippingCategory exists, but is not included in domain)
Warning: Ignoring invalid association :shipping_rates on Spree::ShippingMethod (model Spree::ShippingRate exists, but is not included in domain)
Warning: Ignoring invalid association :shipments on Spree::ShippingMethod (model Spree::Shipment exists, but is not included in domain)
Warning: Ignoring invalid association :zones on Spree::ShippingMethod (model Spree::Zone exists, but is not included in domain)
Warning: Ignoring invalid association :tax_category on Spree::ShippingMethod (model Spree::TaxCategory exists, but is not included in domain)
Warning: Ignoring invalid association :store_shipping_methods on Spree::ShippingMethod (model Spree::StoreShippingMethod exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::Store (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :store_shipping_methods on Spree::Store (model Spree::StoreShippingMethod exists, but is not included in domain)
Warning: Ignoring invalid association :sale_prices on Spree::Price (model Spree::SalePrice exists, but is not included in domain)
Warning: Ignoring invalid association :tax_category on Spree::Variant (model Spree::TaxCategory exists, but is not included in domain)
Warning: Ignoring invalid association :inventory_units on Spree::Variant (model Spree::InventoryUnit exists, but is not included in domain)
Warning: Ignoring invalid association :line_items on Spree::Variant (model Spree::LineItem exists, but is not included in domain)
Warning: Ignoring invalid association :stock_locations on Spree::Variant (model Spree::StockLocation exists, but is not included in domain)
Warning: Ignoring invalid association :stock_movements on Spree::Variant (model Spree::StockMovement exists, but is not included in domain)
Warning: Ignoring invalid association :sale_prices on Spree::Variant (model Spree::SalePrice exists, but is not included in domain)
Warning: Ignoring invalid association :stock_location on Spree::StockItem (model Spree::StockLocation exists, but is not included in domain)
Warning: Ignoring invalid association :stock_movements on Spree::StockItem (model Spree::StockMovement exists, but is not included in domain)
Warning: Ignoring invalid association :products on DeliveryDuration (uninitialized constant DeliveryDuration::Product)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :payments on Spree::PaymentMethod (model Spree::Payment exists, but is not included in domain)
Warning: Ignoring invalid association :credit_cards on Spree::PaymentMethod (model Spree::CreditCard exists, but is not included in domain)
Warning: Ignoring invalid association :store_payment_methods on Spree::PaymentMethod (model Spree::StorePaymentMethod exists, but is not included in domain)
Warning: Ignoring invalid association :adjustments on Spree::Promotion::Actions::CreateAdjustment (model Spree::Adjustment exists, but is not included in domain)
Warning: Ignoring invalid association :adjustments on Spree::Promotion::Actions::CreateItemAdjustments (model Spree::Adjustment exists, but is not included in domain)
Warning: Ignoring invalid association :promotion_action_line_items on Spree::Promotion::Actions::CreateLineItems (model Spree::PromotionActionLineItem exists, but is not included in domain)
rake aborted!
NoMethodError: undefined method `name' for nil:NilClass/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/domain/specialization.rb:66:in `<=>'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/domain/specialization.rb:13:in `sort'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/domain/specialization.rb:13:in `from_models'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/domain.rb:67:in `specializations'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/diagram.rb:170:in `filtered_specializations'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/diagram.rb:132:in `generate'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/diagram.rb:119:in `create'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/diagram.rb:74:in `create'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rails-erd-1.1.0/lib/rails_erd/tasks.rake:41:in `block (2 levels) in <top (required)>'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `each'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'/Users/josua/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'/Users/josua/.rbenv/versions/2.1.2/bin/rake:23:in `load'/Users/josua/.rbenv/versions/2.1.2/bin/rake:23:in `<main>'
Tasks: TOP => erd => erd:generate
The text was updated successfully, but these errors were encountered:
I'm actually unable to reproduce this in Spree 2.3, but I've confirmed it in a pair of complicated apps. The fix in #103 addresses the problem as I'm seeing it, although I must admit I'm not entirely sure /where/ the bug is coming from, as it seems to stem from something deeper than appears on the surface.
Using Ruby 2.1.0, Rake 10.4.2, Spree 2.3.7 and rails-erd 1.1.0 I'm getting a lot of warnings and a breaking error when running
rake erd
. Do you have a hint on how to investigate that?The text was updated successfully, but these errors were encountered: