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.

Receiving e-mail directly into Mongodb (or other db)

Often you need to receive email which then will be available to your Rails application. Usually it’s done with yet another middle-tier, such as IMAP server and IMAP client. Why not cut the middle man? ReceiveD is a simple LMTP (almost RFC2033 compliant) daemon, which can receive e-mail from Postfix and save it directly to the Mongodb document database. [more inside]

Tutorial and Example App for OmniAuth and Mongoid

Daniel Kehoe’s detailed tutorial and example code for OmniAuth and Mongoid shows how to build a complete Rails 3 example app with OmniAuth and Mongoid. OmniAuth manages authentication using Twitter, Facebook, or many other service providers. MongoDB is used as a datastore with the Mongoid gem for quick development without schemas or migrations. This tutorial also gives you the option of using jQuery, Haml, RSpec and Cucumber, showing how to integrate each option. In addition to the tutorial, Kehoe provides a Rails application template you can use to generate a fully-functional starter app in minutes. Kehoe’s previous tutorials and example apps have been popular (as can be seen by the number of watchers and forks on GitHub) and include starter apps for “Mongoid and Devise” and “Devise with Subdomains”.

Loading older posts