Quantcast
Channel: SitePoint
Browsing all 122 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Using Transloadit for Basic Picture Uploads

Recently, I had the need to investigate better methods of uploading pictures to our web application. The app is Rails-based and hosted on Heroku. Heroku, as I am sure many of you know, constrains its...

View Article



Deploying Rails with Phusion Passenger and Nginx in 5 minutes

When I first started with RoR, I used to wonder how developers deployed their application with such ease. Here’s a guide which should come in handy if you want to deploy a Rails app with Nginx, without...

View Article

Image may be NSFW.
Clik here to view.

Rails: User/Password Authentication from Scratch, Part I

(Note: Source code accompanying this article can be found here.)Today we’re going to learn how to implement simple user authentication in a Rails application from scratch. We’ll examine best practices...

View Article

Image may be NSFW.
Clik here to view.

Rails: User/Password Authentication from Scratch, Part II

In Part One of this series, I explained how to create a Rails application with a sign up form. This article concludes the process of user authenticationAuthentication MethodAs we can now save encrypted...

View Article

Deploying Your Rails App to the Cloud with Unicorn, Nginx, and Capistrano

We all know how easy it is to create a Rails app, but what about when your app is ready for production?The first thing you need to do is to set up your server and install the proper libraries, so fire...

View Article


Image may be NSFW.
Clik here to view.

Payments in Rails with Stripe

AnnoyancesHandling payments in the past has been a complete pain. Just looking at PayPal’s API introduction makes me want to scream. Redirects, logins, checkouts; I just want process a payment!Stripe...

View Article

Image may be NSFW.
Clik here to view.

Keeping Your Rails App Clean

Photo via Fotolia (click thru for details)Way back when in the 1600′s, astronomy was all the rage in Europe, due for the most part to the invention and production of telescopes.As a result, kinds of...

View Article

Image may be NSFW.
Clik here to view.

Adding SMS Capabilities to Your Rails App

In a recent project, one of the technical requirements was to integrate an SMS service to a Rails application so that users could validate their accounts using their mobile device and also allow the...

View Article


Image may be NSFW.
Clik here to view.

Ditching ERB: A Guide to Using Liquid

The view layer in a traditional Rails app hasn’t changed a huge amount since rails 1.0 was shipped back in the crazy mid noughties. Sure—you might have switched from Prototype to jQuery, XHTML to...

View Article


Page Caching with HTTP

If you’ve got the sort of application which benefits from full page caching then chances are you’ve already had a look at rails style page caching. For the unfamiliar, page caching is useful when...

View Article

Image may be NSFW.
Clik here to view.

Working with Refinery

The CMS market is a pretty saturated landscape. I feel confident saying that, at one time or another, every developer has dirtied their hands using WordPress, Joomla or some other PHP solution. In the...

View Article

Image may be NSFW.
Clik here to view.

Deploying a Rails Application

Deploying a PHP web application involves either uploading files to a server via FTP, or committing and pushing to a master branch of a Git repository. There is nothing complex about it. Deploying a...

View Article

Image may be NSFW.
Clik here to view.

Get Your App Ready for Rails 4

A new Rails version is about to be released and it’s coming with many changes, deprecations, and new features.Lets take a look at what you need to do to get your app ready for Rails 4.The Path to...

View Article


Image may be NSFW.
Clik here to view.

Ruby Social Gems: Facebook

This is the third installment in my series about Ruby Social Media Gems. Today, I am focusing on Facebook gems.Koala Gem Koala is a gem that interfaces with the various Facebook APIs (Graph API, REST...

View Article

Image may be NSFW.
Clik here to view.

Getting Your Javascript Under Control

Do you remember the formal announcement of the asset pipeline at RailsConf 2011? I do, I thought it was pretty cool stuff. Like almost anything in Rails, some loved it and others hated it. Either way...

View Article


Image may be NSFW.
Clik here to view.

The Basics of Caching and Cache Digests

This is an introduction to caching in Rails.  You may know that Rails performs some caching “automagically”, but you aren’t quite sure what that means or what that is. Read on to find out.In a...

View Article

Image may be NSFW.
Clik here to view.

Gioco: The Gamification Gem

In the past two years I’ve heard a lot about new marketing techniques, and how they can be applied in web development. One of the most well known techniques these days is gamification. This article...

View Article


Image may be NSFW.
Clik here to view.

App Search with Thinking Sphinx 3.0

Thinking Sphinx is now a very standard library for interfacing with Sphinx and has come a long way in its implementation of various features of Sphinx. The new version, 3.0, is a major rewrite and...

View Article

Image may be NSFW.
Clik here to view.

Preview Your Rails Mail with Letter Opener

In this tutorial I will show you the setup and use of a email-preview gem called Letter-Opener by Ryan Bates. In case you are serious about using Rails and you do not know Ryan’s excellent Railscasts,...

View Article

How to Increase Performance in Rails: the stale? method

On his last appearance on Talk With the Experts, SitePoint’s developer Mal Curtis was asked about performance issues on Ruby on Rails apps and ways to increase speed. One of his suggestion was to use...

View Article
Browsing all 122 articles
Browse latest View live




Latest Images