Skip to content

Instantly share code, notes, and snippets.

@Porta
Created February 25, 2014 19:12
Show Gist options
  • Save Porta/9215522 to your computer and use it in GitHub Desktop.
Save Porta/9215522 to your computer and use it in GitHub Desktop.
$ rake test
....................test/model.rb:73: warning: assigned but unused variable - foo
...................................................
test: find all
line: assert all.detect {|e| e.name == "Ruby Meetup" }
file: test/model.rb +369
line: to_a.each { |e| yield e }
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +163
line: fetch(ids)
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +159
line: arr.each_with_index do |atts, idx|
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +144
line: arr.each_with_index do |atts, idx|
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +144
line: arr.each_with_index do |atts, idx|
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +144
line: res << model.new(Hash[*atts].update(:id => ids[idx]))
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +145
line: res << model.new(Hash[*atts].update(:id => ids[idx]))
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +145
line: update_attributes(atts)
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +1106
line: atts.each { |att, val| send(:"#{att}=", val) }
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +1380
line: atts.each { |att, val| send(:"#{att}=", val) }
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +1380
line: atts.each { |att, val| send(:"#{att}=", val) }
file: /home/porta/Dropbox/Code/ruby/ohm/lib/ohm.rb +1380
NoMethodError: undefined method `["name", "Ruby Meetup"]=' for #<Event:0x007f0c73366858 @attributes={}, @_memo={}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment