RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Submit a post

You can use basic HTML markup (e.g. <a>) or Markdown.
Note that your post may be edited to suit the format of the site.

As you are not logged in, you will be
directed via GitHub to signup or sign in

Post Preview

Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.

Tutorial and Example App for Rails with Subdomains

My RailsApps tutorials and starter apps have been well-received (thanks!) and today I completed a new one. You can find the example app for Rails 3.1 Subdomains in the GitHub repo. The Rails 3.1 Subdomains Tutorial is in the GitHib wiki and you can find an application template for a Rails starter app on GitHub as well. The example app shows how to build an app with “Basecamp-style” use of subdomains using Mongoid for a datastore and Devise for authentication. As always, please try it, copy, fork and submit issues so all may benefit.

Not sure if you based this from anything but the solution is very similar to a …
@bcardarella, yes, your blog post on “Custom Subdomains in Rails 3” was very he…

bookshop gem drops docbook for html

I just finished and released a complete rewrite of the bookshop gem. bookshop is a publishing framework for html-to-(e)book toolchain happiness and sustainable productivity. The framework is optimized to help developers quickly ramp-up, allowing them to more rapidly jump in and develop their html-to-(e)book (print-pdf, epub, mobi, etc.) flows, by favoring convention over configuration, setting them up with best practices, standards and tools from the start. [more inside]

Stripe vs. ActiveMerchant

I’ve been playing around with stripe for the past month and I have been pretty impressed. It is so easy to use and the documentation is great. That being said there are downsides to stripe compared to ActiveMerchant. [more inside]

Serve erb files the wrong way (like php does it)

Here is the full guide. The idea is to configure Apache so you can upload an erb file to anywhere in your DocumentRoot and have it interpreted and then sent to the browser, just like you can do with php files. Basically, you configure Apache to take any request to a .erb file and redirect it to a cgi script.

Loading older posts