Articles

65. ActiveMerchant with Authorize.net in Rails Part 2

In this episode you will learn how to use CIM API of Authorize.net gateway to post transactions and add recurring billing logic.

 For recurring billing you can check the last_charged_at field in Subscriptions table and if it was successfully processed you can charge the customer based on the interval. Interval attribute can store the frequency of charging a customer for subscriptions. I am using months as the unit for this attribute.

back home again

After being one week on the road, I'm finally back home again. Last week I presented at RubyFools Copenhagen and Scotland on Rails and therefore traveled a lot.

Rails Chops: Working with databases

References

Objectives

  • Configure Rails to work with a database (database.yml)
  • create table (migration)
  • use ActiveRecord to interact with our database

My Favorite New Site: Tripit


I’d heard (first from Joel Spolsky, I believe) about a cool new travel planning site called Tripit. I’m making arrangements for a trip to St. Louis later this month, and so I thought this would be a good opportunity to try it out. To say the least, I’m impressed.

64. Extremely Simple Calendar Integration for Rails

This episode is based on the blog post Extremely Simple Calendar Integration for Rails

 You will the learn basics of form, routes and how to save the calendar selection value to the database.

63. Why Ruby is an acceptable LISP?

This episode is based on the blog post by Eric Kidd Why Ruby is an acceptable LISP

You will learn the very subtle technique that allows chaining of functions in Ruby. 

Time Zone Visualizations

I've been doing a lot of work with time zones recently; they're notoriously difficult to wrap one's head around, so I created a few visualizations to help me.

Git's avalanche

I remember thinking how impressive the roll-out of Subversion was. They reached some magic point where the majority of the development world just flipped and most everyone who've previously been on CVS switched in what seemed like an overnight transition.

Of course it didn't happen like that, but the perception of a sea of developers all collectively deciding to move on and knight Subversion the next savior seemed impressive at the time.

The immediacy of PHP

I've been writing a little bit of PHP again today. That platform has really received an unfair reputation. For the small things I've been used it for lately, it's absolutely perfect.

I love the fact that it's all just self-contained. That the language includes so many helpful functions in the box. And that it managed to get distributed with just about every instance of Apache out there.

62. ActiveMerchant with Authorize.net in Rails

In this episode you will learn how to make a purchase transaction using ActiveMerchant plugin with Authorize.net gateway.

Wireframing your Rails Apps | Rails Fire

Wireframing your Rails Apps

A really useful way to mockup your applications before coding is to use wire framing software to create the screens and layout of your application. By doing this, you can ensure everyone working on the project can help to decide upon what the first version should functionally look like, and everyone will know what [...]

Images: