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 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”.

How to not forget about db migrations

before_filter which will remind to run migrations

I might not want to run this before filter?!
that is a HORRIBLE idea. What about just making capistrano run db:migrate so th…
slainer68, you are free to rename it to rack::maintenance, or whatever you like…
@blocknotgiven I think what people are getting at is this is an unnecessary per…

AssetHat: Load CSS, JS, and images faster in Rails 3

AssetHat 0.4 is now available. It’s a Rails gem that makes CSS, JS, and images load faster—especially useful for mobile websites. Beyond the usual concatenation and minification, AssetHat can rewrite CSS image URLs to use multiple CDN subdomains, and make it as simple as <%= include_js :jquery %> to load popular third-party JS from Google’s CDN. To switch on LABjs, just add :loader => :lab_js. Check out the official website, stats from a bunch of production sites, and the extensive docs for more.

Programming with an online IDE

Compilr.com online IDE lets you write in Ruby from almost any computer, storing your code online: Compilr.com

spam. paid service. plz remove (this belongs in ads)
+1 for spam
I tried it even though it’s spam, and it’s useless too.

Submit a question to RubyRescue.tv and you could win $50!

Last week we (Jeremy and Ryan from Arcturo) ran our first show of RubyRescue.tv, a live question/answer/discussion show for Ruby happening every Tuesday at 2p.m. Eastern. It went awesome, and so this week we’re offering a $50 Amazon Gift Card up for grabs for one lucky question submitter. Head over to the website and submit a question using one of the forms or other methods there. Good luck!

Loading older posts