18 Apr '12, 10pm

カード決済サービスStripeの解説記事。 / “#288 Billing with Stripe - RailsCasts”

カード決済サービスStripeの解説記事。 / “#288 Billing with Stripe - RailsCasts”

<%= form_for @subscription do |f| %> <% if @subscription.errors.any? %> <div class="error_messages"> <h2><%= pluralize(@subscription.errors.count, "error") %> prohibited this subscription from being saved:</h2> <ul> <% @subscription.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <%= f.hidden_field :plan_id %> <div class="field"> <%= f.label :email %> <%= f.text_field :email %> </div> <div class="field"> <%= label_tag :card_number, "Credit Card Number " %> <%= text_field_tag :card_number, nil, name: nil %> </div> <div class="field"> <%= label_tag :card_code, "Security Code on Card (CVV)" %> <%= text_field_tag :card_code, nil, name: nil %> </div> <div class="field"> <%= label_tag :card_month, "Card Expiration" %> <%= select_month nil, {add_month_numbers_true: true}, {name: nil, id: "card_month"}%> <%= select_year nil, {start_year: ...

Full article: http://railscasts.com/episodes/288-billing-with-stripe?la...

Tweets

Watching OmniAuth Part 1 on RailsCasts via @rai...

railscasts.com 19 Apr '12, 6pm

<% title "Sign In" %> <% if @authentications %> <% unless @authentications.empty? %> <p><strong>You can sign in to this ac...

Wohoo! Got the Login with Twitter to finally wo...

railscasts.com 19 Apr '12, 6pm

Some things have changed since OmniAuth version 1.0 was released. Each provider is now a separate gem that should be inclu...

#213 Calendars - RailsCasts

railscasts.com 18 Apr '12, 9pm

<div id="calendar"> <h2 id="month"> <%= link_to "<", :month => (@date.beginning_of_month-1).strftime("%Y-%m") %> <%=h @dat...

Click here to see what M has to say about Collection #288.. and about turning the other cheek

Click here to see what M has to say about Colle...

dressabelle.livejournal.com 22 Apr '12, 7am

Take a lesson from the reversible dresses that we have this week and learn to turn the other cheek. This idiom just means ...