This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
old = hash[:a][:b] | |
hash[:a][:b] = hash[:a][:b].dup | |
hash[:a][:b].equal? old # shouldn't, but did somehow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: https://rubygems.org/ | |
specs: | |
actionmailer (4.0.5) | |
actionpack (= 4.0.5) | |
mail (~> 2.5.4) | |
actionpack (4.0.5) | |
activesupport (= 4.0.5) | |
builder (~> 3.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GEM | |
remote: https://rubygems.org/ | |
specs: | |
actionmailer (4.0.8) | |
actionpack (= 4.0.8) | |
mail (~> 2.5.4) | |
actionpack (4.0.8) | |
activesupport (= 4.0.8) | |
builder (~> 3.1.0) | |
erubis (~> 2.7.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NFO [main] (MarcImporter.java:582) - Adding 30 of 30 documents to index | |
INFO [main] (MarcImporter.java:583) - Deleting 0 documents from index | |
INFO [main] (MarcImporter.java:456) - Calling commit (with optimize set to false) | |
Aug 26, 2014 2:41:00 PM org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner run | |
WARNING: A problem has occured exiting runner org.apache.solr.client.solrj.impl.StreamingUpdateSolrServer$Runner@bdccedd | |
org.apache.solr.common.SolrException: Not Found | |
Not Found | |
request: http://127.0.0.1:8888/solr/update?wt=xml&version=2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^Crake aborted! | |
Interrupt: | |
/Users/jrochkind/.gem/ruby/1.9.3/gems/activesupport-4.0.4/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``' | |
/Users/jrochkind/.gem/ruby/1.9.3/gems/activesupport-4.0.4/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``' | |
/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/blacklight_marc-3959de95eb3f/lib/railties/solr_marc.rake:37:in `block (4 levels) in <top (required)>' | |
/Users/jrochkind/.gem/ruby/1.9.3/bundler/gems/blacklight_marc-3959de95eb3f/lib/railties/solr_marc.rake:20:in `block (3 levels) in <top (required)>' | |
Tasks: TOP => solr:marc:index:work | |
(See full trace by running task with --trace) | |
Error running fixtures | |
D, [2014-08-26T14:48:18.070539 #12386] DEBUG -- : Instance stop method called for pid '12397' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<doc> | |
<container xmlns:foo="http://one"> | |
<foo:node> | |
</container> | |
<container xmlns:foo="http://two"> | |
<foo:node> | |
</container> | |
</doc> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
to_field "something" do |record, accumulator| | |
leader = record.leader | |
# The only reason you want the leader is becuase you are going to do | |
# SOMETHING with it, right? You're not just gonna index the leader, are ya? | |
output = do_something_to(leader) | |
accumulator << output | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class Something | |
attr_accessor :foo | |
end | |
something = Something.new | |
something.respond_to?(:foo) # => true | |
something.respond_to?(:foo=) # => true | |
something.respond_to?(:bar) # => false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Fastly Debug App</title> | |
<style> | |
* { box-sizing: border-box; } | |
body { | |
font-size: 12px; | |
font-family: 'Helvetica Neue', helvetica, sans-serif; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Debug | |
Please submit text block below with your ticket to Fastly | |
ewogICJnZW9pcCI6IHsKICAgICJjaSI6ICJCYWx0aW1vcmUiLAogICAgInN0IjogIk1EIiwKICAgICJjdCI6ICJVbml0ZWQgU3RhdGVzIiwKICAgICJjbyI6ICJOQSIKICB9LAogICJwb3BMYXRlbmN5IjogewogICAgImRmdyI6IDM2LAogICAgImRlbiI6IDQ2LAogICAgIm9yZCI6IDIxLAogICAgImlhZCI6IDQsCiAgICAiYXRsIjogMTYsCiAgICAiamZrIjogOCwKICAgICJtaWEiOiAyOSwKICAgICJsYXgiOiA2NywKICAgICJzamMiOiA4MCwKICAgICJzZWEiOiA3NQogIH0sCiAgInBvcEFzc2lnbm1lbnRzIjogewogICAgImFjIjogImlhZCIsCiAgICAiYXMiOiAiaWFkIiwKICAgICJkeSI6ICJhdGwiCiAgfSwKICAicmVxdWVzdCI6IHsKICAgICJ0aW1lIjogIjIwMTUtMDQtMTRUMjE6MjY6MTIuMDAwWiIsCiAgICAiaG9zdCI6ICJ3d3cuZmFzdGx5LWRlYnVnLmNvbSIsCiAgICAiYWNjZXB0IjogInRleHQvaHRtbCxhcHBsaWNhdGlvbi94aHRtbCt4bWwsYXBwbGljYXRpb24veG1sO3E9MC45LGltYWdlL3dlYnAsKi8qO3E9MC44IiwKICAgICJ1c2VyYWdlbnQiOiAiTW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfOF81KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvKSBDaHJvbWUvNDEuMC4yMjcyLjExOCBTYWZhcmkvNTM3LjM2IiwKICAgICJhY2NlcHRsYW5ndWFnZSI6ICJlbi1VUyxlbjtxPTAuOCIsCiAgICAiY |
OlderNewer