Snippets #83

Managed to get a few bits and bobs sorted in a Rails project last night.

Filed Under // Authentication NoSQL Snippets

Snippets #53

  1. Devise: authentication for lazy programmers - Check out the latest changes for the new authentication gem on the block.
  2. Hacking someone's gem with github and gemcutter - A great post for anyone wanting roll their versions of a gem.
  3. Know When to Fold'em - Good advice when you want to delegate a library you don't wish to maintain.
  4. The magic of thinking big - Great post about the new Build conference happening this weekend in Belfast.

Snippets #50

  1. The Complete Class - I haven't though much about class design since I started Ruby, so it was good to read this post on the Ruby Best Practices blog.
  2. GitProductive - LOC might not be a good measure of how productive you are, but it does give a good indication of progress when your refactoring.
  3. Devise - An interesting authentication solution for your Rails applications.
  4. Setting up a Mac to work with Git and Github - Great guide to getting started with Github.

Snippets #41

  1. A Month in Rails - Some of these goodies have already been posted here, but there are a few gems here (pardon the pun!) if Rails is your thing.
  2. Gem Packaging: Best Practices - I've haven't written any gems yet, but it's always good to learn this stuff.
  3. Always remember me - Thoughtbot's authentication engine has changed how its "remember" default.
  4. Migrating to Snow Leopard for Rails Development - A Definitive Guide - Mike Gunderloy has written a very detailed guide to getting a working Rails environment going on Snow Leopard. I'm definitely going to be using this guide myself when I eventually upgrade in a few weeks.

Snippets #32

  1. Rails Freelancing Handbook - Mike Gunderloy has a new e-book out for those aspiring towards a career of freelance work with Rails.
  2. Users and Passwords - A best practices guide to handling your users and their passwords in Rails. Definitely worth a look, if your new to Rails, or you just want a refresher.

Filed Under // Authentication Rails Snippets

Snippets #21

  1. Production Log Analyzer - Useful little gem gets a version bump this week.
  2. An easy way to write named scope tests - Zach Brook shows how easy it is to test your named scopes.
  3. Getting Started With Restful Authentication in Rails - Nettuts has created another Rails tutorial for the masses, but this might be a bit basic for some.
  4. Introduction to BDD with Cucumber - This seems a better fix for me than RSpec.

Snippets #4

  1. ActiveRecord-Skeleton - This will definitely come in handy for my current Sinatra project.
  2. Tips For Writing Your Own Rails Engine - The link says it all!
  3. Third Party User Authentication In Just A Few Lines Of Code -  Some examples of client and web authentication in Ruby.

Snippets #3

  1. Debugging Rails 2.3.2 Apps with Rack::Bug - I posted yesterday about this debugging tool, but here’s a tutorial (via A Fresh Cup).
  2. Ruby Enterprise Edition 1.8.6-20090421 released

Snippets #1

  1. Bare Sinatra App - A bare sinatra application template for deploying straight to Phusion Passenger.
  2. How To Add Simple Permissions Into Your Simple App - John Nunemaker shows how easy it is to roll your own permissions into your application, complete with tests!
  3. Simplify Your Dev Environment With Passenger Pane - Passenger Pane has been out for a while, but this is the first tutorial I’ve seen that explains a basic setup with Rack.
  4. Demeter Is For Encapsulation - Pat Maddox explains the law of Demeter with a Ruby exmaple.