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
Can I do this or do i need to iterate over my collection to call boxer.ship
Boxer.ship(:course,Course.all)NoMethodError: undefinedmethod`title' for #<Array:0x007f8efb555528> from (irb):7:in `block(2levels)inirb_binding' from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:78:in `call'from/Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:78:in`block in ship' from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:77:in `each' from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:77:in `inject'from/Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:77:in`ship' from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/boxer-1.0.2/lib/boxer.rb:45:in `ship' from (irb):40 from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/commands/console.rb:44:in `start'from/Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/commands/console.rb:8:in`start' from /Users/schneems/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.0.9/lib/rails/commands.rb:23:in `<top(required)>' from script/rails:6:in `require'fromscript/rails:6:in `<main>'
Boxer.ship(:course,Course.first)=>{:name=>"Example Name",:price=>7.11}
If its not supported => feature suggestion. If it is supported, any clue what i'm doing wrong?
The text was updated successfully, but these errors were encountered:
Can I do this or do i need to iterate over my collection to call boxer.ship
If its not supported => feature suggestion. If it is supported, any clue what i'm doing wrong?
The text was updated successfully, but these errors were encountered: