Skip to content

Instantly share code, notes, and snippets.

View byennen's full-sized avatar
🚀
to the moon

Lance Ennen byennen

🚀
to the moon
View GitHub Profile
@byennen
byennen / Creating orders
Created December 10, 2010 03:28
Creating orders
def create
@order = Order.new(params[:order])
if @order.save
redirect_to(@order, :notice => 'Order was successfully created.')
else
render :action => "new"
end
end
@byennen
byennen / creating_orders.rb
Created December 10, 2010 03:29
Creating orders
def create
@order = Order.new(params[:order])
if @order.save
redirect_to(@order, :notice => 'Order was successfully created.')
else
render :action => "new"
end
end
<!-- item #1 -->
<div class="border_top"></div>
<div class="photo">
<img src="../images/items/clothing_protectors/barrier_clothing_protectors_front.png" width="233" height="174" alt="Barrier Clothing Protector">
</div>
<div class="photo">
<img src="../images/items/clothing_protectors/barrier_clothing_protectors_back.png" width="233" height="174" alt="Barrier Clothing Protector">
</div>
@byennen
byennen / pippa
Created August 20, 2014 23:40
pippa
[byennen:~/Sites/pippa]$ bundle (master)
Resolving dependencies...
Using rake (10.2.2)
Using i18n (0.6.9)
Using multi_json (1.9.2)
Using activesupport (3.2.17)
Using builder (3.0.4)
Using activemodel (3.2.17)
Using erubis (2.7.0)
Using journey (1.0.4)
@byennen
byennen / gist:10381652
Last active August 29, 2015 13:58
Inline example
# row-fluid class has to be use with F75.
# span6 is going to float it to the left
# span6 also means 6 columns on the grid
# remove span6 if you dont need them floating to the left of each other
# bootstrap 3 you would use a row and col-lg-6.
.row-fluid
.span6
= f.input report_date_from, inline_label: true
.span6
http://www.nathankowald.com/moblog/photos/473.jpg
http://37.media.tumblr.com/tumblr_m1b5a3t7vI1qh3fmpo2_1280.png
https://octodex.github.com/images/okal-eltocat.jpg
https://www.evernote.com/shard/s3/sh/763ecd0c-bc1e-4423-9a72-82f1a377cb57/1060ec9c0589a6913bcc949a88b35e50
https://www.evernote.com/shard/s3/sh/b6cdad8e-2fbd-4d81-ad65-aa6fce8e19a6/4eb299e8dc52e62c5089c60db4010801
outfitExample:
http://www.nathankowald.com/moblog/…os/473.jpg
http://37.media.tumblr.com/tumblr_m…2_1280.png
https://octodex.github.com/images/o…ltocat.jpg
https://www.evernote.com/shard/s3/s…9a88b35e50
We’re liking this idea too:https://www.evernote.com/shard/s3/s…0db4010801