Skip to content

Instantly share code, notes, and snippets.

View xdite's full-sized avatar

Yi-Ting Cheng xdite

View GitHub Profile
class OrderPlacingService
def initialize(cart,order)
@order = order
@cart = cart
end
def place_order!
@order.build_item_cache_from_cart(@cart)
@order.calculate_total!(@cart)
@cart.clear!
@xdite
xdite / install rubycocoa over rvm's 1.8.7
Created September 6, 2010 04:16 — forked from hchoroomi/install rubycocoa over rvm's 1.8.7
install rubycocoa on REE using rvm
~$ ARCHFLAGS='-arch i386 -arch x86_64'
~$ rvm install ree --debug --enable-shared=yes
~$ wget http://sourceforge.net/projects/rubycocoa/files/RubyCocoa/1.0.0/RubyCocoa-1.0.0.tar.gz/download
~$ tar xzf RubyCocoa-1.0.0.tar.gz && rm RubyCocoa-1.0.0.tar.gz && cd RubyCocoa-1.0.0
~/RubyCocoa-1.0.0$ ruby install.rb config --build-universal=yes
~/RubyCocoa-1.0.0$ ruby install.rb setup
~/RubyCocoa-1.0.0$ sudo ruby install.rb install
<h2>Spekers</h2>
<h3>Gregg Pollack</h3>
http://envylabs.com/team
http://twitter.com/GreggPollack
Gregg is a Hollywood director trapped in the body of a software developer. Although he loves programming he is also passionate about finding new and creative ways to educate using podcasts and screencasts. When he's not thinking up new ideas to take over the world he can be found contributing to the Rails Activist Team, the Orlando Ruby Users Group, BarCamp Orlando, and Ignite Orlando.
<h3>高橋征義 (Masayoshi Takahashi)</h3>