____ _ _ _ __ _ _
/ __ \ (_) | | | | / _| | ( )
| | | |_ _ _ ___| | _| | ___| |_| |_|/ ___
| | | | | | | |/ __| |/ | |/ _ | _| __| / __|
| |__| | |_| | | (__| <| | __| | | |_ \__ \
\___\_\\__,_|_|\___|_|\_|_|\___|_| \__| |___/
| _ \ | | | | | | / _|
| |_) | __ _| |_| |_| | ___ ___ | |_
| _ < / _` | __| __| |/ _ \ / _ \| _|
| |_) | (_| | |_| |_| | __/ | (_) | |
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
/Users/acumendigital/dish/stallone/vendor/bundle/gems/nokogiri-1.6.3.1/lib/nokogiri/nokogiri.bundle: [BUG] Segmentation fault | |
ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-darwin13.4.0] | |
-- Control frame information ----------------------------------------------- | |
c:0047 p:-17523159856708 s:0133 b:0133 l:000132 d:000132 TOP | |
c:0046 p:---- s:0131 b:0131 l:000130 d:000130 CFUNC :require | |
c:0045 p:0029 s:0127 b:0127 l:000123 d:000126 BLOCK /Users/acumendigital/dish/stallone/vendor/bundle/gems/nokogiri-1.6.3.1/lib/nokogiri.rb:29 | |
c:0044 p:0164 s:0124 b:0124 l:000123 d:000123 TOP /Users/acumendigital/dish/stallone/vendor/bundle/gems/nokogiri-1.6.3.1/lib/nokogiri.rb:25 | |
c:0043 p:---- s:0122 b:0122 l:000121 d:000121 FINISH | |
c:0042 p:---- s:0120 b:0120 l:000119 d:000119 CFUNC :require |
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
<div class="container"> | |
<div class="row"> | |
<div class="col-xs-2"> | |
<%= render partial: 'side_nav', locals: {categories: categories} %> | |
</div> | |
<div class="col-xs-10" id="category-cards"> | |
<div class="col-xs-12 text-center page-header text-danger" id="category-header"> | |
<h1 class="category-header"><%= header %></h1> | |
</div> | |
<div class="container-fluid cards-wrapper"> |
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
RSpec.configure do |config| | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) | |
end | |
config.before(:each) do | |
DatabaseCleaner.strategy = :transaction | |
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 Dogs | |
POOR = (0..5).to_a.sample | |
AVERAGE = (6..10).to_a.sample | |
EXCELLENT = (11..15).to_a.sample | |
def initialize | |
joe = { | |
:name => {:first => "Joe", :last => "Smith"}, | |
:owner_quality => EXCELLENT | |
} |