Online slot games have revolutionized the world of casino gaming, bringing the thrill of the casino floor directly to...
Online slot games have revolutionized the world of casino gaming, bringing the thrill of the casino floor directly to...
こないだ、と言っても2週間くらい前の話なんだけど、社内でZeroMQとMongrel2の勉強会をやった。Mongrelと言えば、俺がRails(たしか当時1.2くらいだったと思う)で仕事してた頃にアプリケーションサーバとして使ってたけど、最近だとThinとかPassengerとかUnicornとかの人気に押されてついぞ聞かなくなったアレだよなぁ、なんでPerlの会社の勉強会でMongrelなんだろう、と思ってたんだけど、Mongrel2はもはやRailsのアプリケーションサーバじゃなくて、通信にZeroMQなるものを使った汎用的なWebサーバになってたらしい。 大分野心的なプロジェクトではあるものの、今はZeroMQもMongrel2も「とりあえず出た」って感じらしく、今年一杯くらいは地雷原を突き進む気がある人だけ触るといいんじゃないかなという話だった。プロダクションで使うようなレベルにな
PayPal Express Checkout is easy to add to an existing ordering system. See how in this episode.
require "rubygems" require "active_merchant" ActiveMerchant::Billing::Base.mode = :test gateway = ActiveMerchant::Billing::PaypalGateway.new( :login => "seller_1229899173_biz_api1.railscasts.com", :password => "FXWU58S7KXFC6HBE", :signature => "AGjv6SW.mTiKxtkm6L9DcSUCUgePAUDQ3L-kTdszkPG8mRfjaRZDYtSu" ) credit_card = ActiveMerchant::Billing::CreditCard.new( :type => "visa", :number => "40240071486
def paypal_encrypted(return_url, notify_url) values = { :business => APP_CONFIG[:paypal_email], :cmd => '_cart', :upload => 1, :return => return_url, :invoice => id, :notify_url => notify_url, :cert_id => APP_CONFIG[:paypal_cert_id] } line_items.each_with_index do |item, index| values.merge!({ "amount_#{index+1}" => item.unit_price, "item_name_#{index+1}" => item.product.name, "item_number_#{index
def paypal_url(return_url) values = { :business => 'seller_1229899173_biz@railscasts.com', :cmd => '_cart', :upload => 1, :return => return_url, :invoice => id } line_items.each_with_index do |item, index| values.merge!({ "amount_#{index+1}" => item.unit_price, "item_name_#{index+1}" => item.product.name, "item_number_#{index+1}" => item.id, "quantity_#{index+1}" => item.quantity }) end "https://w
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く