How To Deploy Rails with SVN and Capistrano to a Secondary Domain on TextDrive I just deployed my first rails app to one of my secondary domains on TextDrive’s shared hosting space.
If that sounds like a recipe for disaster….you’re right!
While Rails is a great development tool, there’s lots of work to do in simplifying, stabilizing, and documenting the deployment process. The app in question is very, very tiny for
Learning the Rails I’m taking a week off of active programming to focus on better understanding 3 aspects of Rails development I’ve been wistfully ignoring: Migrations, Testing, and Deployment.
There’s a tiny, fun little project I’m using as the venue for these subjects.
One week from today (May 1) is what I’m giving myself on this effort. Any longer
Ruby on Rails is Agile Web Development
If you’ve been following along for a while, you know I’m on a quest to learn Ruby and specifically - Ruby on Rails. Back in May I started on Sam’s Teach Yourself Ruby in 21 Days. After the fourth time through day 15, I knew I needed some other assistance.
The inspiration to find the other
How to Decode TinyURLs with Ruby
def reverse_tinyurl(tinyurl)
require ‘open-uri’
require ‘net/http’
url = Net::HTTP.get_response(URI.parse(tinyurl)).to_hash['location'].to_s
end
This should also work for any url that is a known redirect whether it be a tinyurl.com, urltea.com, rubyurl.com, or what have you.
Learning Ruby in 3 Weeks
A year ago I dropped REALbasic. Since then, I’ve struggled to get my head around Cocoa and Objective-C.
With the recent hype around Ruby on Rails, I started looking at Ruby and found a Ruby/Objective-C bridge. To me, this means there’s a huge potential to have tightly-integrated desktop and web-based applications in a single, easy-to-maintain