Skip to content

Instantly share code, notes, and snippets.

View jathayde's full-sized avatar
🚜

John Athayde jathayde

🚜
View GitHub Profile
<% @unit.unit_client_scans.each do |client_scan| %>
&nbsp;• <%= client_scan.value %><br />
<% end %>
input[type='text'] {
borer: 1px solid #ccc;
padding: 2px;
}
<h2>This item has been marked as</h2>
<p class="unit-status"><%= unit.status.humanize %></p>
<!-- PDI - What is this code?! -->
<ul>
<li>
<img src="" alt="" />
</li>
<li>
<ul>
<li><%= unit.product.title if unit.product %></li>
ActiveRecord::UnknownAttributeError in ComponentsController#create
unknown attribute: _destroy
RAILS_ROOT: /Users/jathayde/Sites/optoro/inventory
Application Trace | Framework Trace | Full Trace
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2906:in `assign_attributes'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2902:in `each'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2902:in `assign_attributes'
/Library/Ruby/Gems/1.8/gems/activerecord-2.3.8/lib/active_record/base.rb:2775:in `attributes='
Soho:Book jathayde$ rake book.pdf
(in /Users/jathayde/Sites/warv/Book)
<"book.pml" ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/includer.rb" | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/embedcode.rb" --embed-skip-leading 'code/' >"book.xml"
Including: Bibliography.pml
Including: Introduction.pml
Including: Changes.pml
/usr/local/bin/ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/xmllint_fe.rb" xmllint --noout --valid "book.xml"
xsltproc "/Users/jathayde/Sites/warv/Book/local/xml/ppb2latex.xsl" book.xml >book.tex
TEXINPUTS=.:local/tex:../PPStuff/util/tex/BOOK:../PPStuff/util/tex::../PPStuff/bibliography:../PPStuff/sales_blurb </dev/null latex book | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/tidyop.rb" --quiet
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
Soho:Book jathayde$ rake book.pdf
(in /Users/jathayde/Sites/warv/Book)
<"book.pml" ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/includer.rb" | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/embedcode.rb" --embed-skip-leading 'code/' >"book.xml"
Including: Bibliography.pml
Including: Introduction.pml
Including: Changes.pml
/usr/local/bin/ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/xmllint_fe.rb" xmllint --noout --valid "book.xml"
xsltproc "/Users/jathayde/Sites/warv/Book/local/xml/ppb2latex.xsl" book.xml >book.tex
TEXINPUTS=.:local/tex:../PPStuff/util/tex/BOOK:../PPStuff/util/tex::../PPStuff/bibliography:../PPStuff/sales_blurb </dev/null latex book | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/tidyop.rb" --quiet
Soho:Book jathayde$ rake book.pdf
(in /Users/jathayde/Sites/warv/Book)
<"book.pml" ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/includer.rb" | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/preprocess/embedcode.rb" --embed-skip-leading 'code/' >"book.xml"
Including: Bibliography.pml
Including: Introduction.pml
Including: Changes.pml
/usr/local/bin/ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/xmllint_fe.rb" xmllint --noout --valid "book.xml"
xsltproc "/Users/jathayde/Sites/warv/Book/local/xml/ppb2latex.xsl" book.xml >book.tex
TEXINPUTS=.:local/tex:../PPStuff/util/tex/BOOK:../PPStuff/util/tex::../PPStuff/bibliography:../PPStuff/sales_blurb </dev/null latex book | ruby "/Users/jathayde/Sites/warv/PPStuff/util/bin/tidyop.rb" --quiet
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
Soho:~ jathayde$ sudo port install tetex
Password:
---> Computing dependencies for teTeX
---> Dependencies to be installed: Xft2 xrender xorg-renderproto gawk gsed gzip texinfo lzmautils texi2html xorg-libXaw groff xorg-libXmu xpm xorg-libXp xorg-printproto
---> Fetching xorg-renderproto
---> Attempting to fetch renderproto-0.11.1.tar.bz2 from http://xorg.freedesktop.org/archive/individual/proto/
---> Verifying checksum(s) for xorg-renderproto
---> Extracting xorg-renderproto
---> Configuring xorg-renderproto
---> Building xorg-renderproto
/*
###############################################################################
# CSS3 BUTTON STYLING
#
# This utilizes various browser switches. We call the non-browser switch last
# in most cases so that as browsers add support for the actual attribute, we
# won't have to rewrite the CSS file.
###############################################################################
*/
<div class="page-title full">
<h1 class="dashboard">Intake</h1>
</div><%# end .page-title %>
<h2>Current Load</h2>
<% @ready_loads.each do |@load| %>
<%= render "loads/intake_load_processing", :load => @load %>
<% end %>