RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

knwang — 15 posts

http://www.gotealeaf.com

We published the part 2 and part 3 of the "Process Payment with Paypal in Rails" series!

Process Payments with Paypal in Rails, Part 2 - Charge Credit Cards
Process Payments with Paypal in Rails, Part 3 - Recurring Payments

Check them out!
Polymorphic associations can be confusing to people who are new to Rails. We wrote a tutorial and used some examples to explain it.

Polymorphic Associations in Rails
We wrote a tutorial on how to integrate Facebook OAuth with Rails apps with the Omniauth-facebook and koala gems.
We wrote an article to explain how the Hash works in Ruby.

We looked at the hash data structure, hashing functions, conflict resolution and growth, how it's implemented in Ruby and a peek at the history of changes made to the hash in MRI Ruby.
We just wrote a tutorial on processing payments with Paypal for Rails apps. It's actually got a lot simpler since the last time I looked at it.

Paypal Payment Processing for Rails Apps
Devise is considered the best-of-breed authentication solution for Rails apps. In this blog post, we go over how Devise is built on top of Warden, how to use it in a Rails app, and how to write tests for it.

How to use Devise in Rails for Authentication
You probably know how to add authentication to a Rails app with a framework like Devise or OmniAuth, but don't let your understanding stops there. In our recent blog post, we talked about several ways to add authentication in a Rails app, and talk about their benefits and drawbacks. 

Rails Authentication Methods
Heard of Chef but never tried it? We wrote a step by step tutorial on how to the steps to set up a deployment process with Chef for your Rails project. Check it out!

Chef Basics for Rails Developers
After we wrote the tutorial series to set up Bootstrap and Rails, we got a few requests to write a series for setting up Zurb Foundation on a Rails app. And... here they are!

Integrating Rails and Foundation - part 1, the installation
Integrating Rails and Foundation - part 2, the CSS and Components
Integrating Rails and Foundation - part 3, Javascript Based Components
We just wrote a tutorial series on integrating Bootstrap with Rails:

Integrating Rails with Bootstrap, Part 1 - the Installation
Integrating Rails with Bootstrap, Part 2 - CSS and Components
Integrating Rails with Bootstrap, Part 3 - Javascript Based Features
Postgres has a reputation of being hard to set up, but it seems things are changing now. check out our blog post on how to install Postgres for Mac OS X!

Install PostgreSQL on Mac
Wonder how to manage environment variables in Rails? In this article we discussed a few different solutions including Figaro, dotenv and Rails' built in secret.yml

Managing Environment Configuration Variables in Rails
We recently added OAuth to to our Rails app that uses Sorcery for authentication and wrote a tutorial for it.

Add OAuth to a Rails App Using Sorcery
We wrote a new tutorial on how to use Capistrano 3 to deploy Rails apps.

Deploy Rails Apps with Capistrano 3
I wrote a blog post about how to bring in Ruby gems or Rails source code together with your app to do some debugging. Digging into source code really shouldn't be difficult.. Check it out here!

How to Debug Rails with Your App