Techlahoma - Multiple Authentications (Part 1)

For Techlahoma we’ve decided that we want to allow a user to connect multiple social profiles to a single account. In this installment we’ll look at writing some feature scenarios that describe the functionality that we need, and then we’ll fill out the step definitions needed to turn those scenarios into fully executable tests.

Read the whole post

Techlahoma - OmniAuth FTW!

In the last post we created step definitions for the first part of a sign in scenario, and we got as far as adding a dead "Sign In" link to the page. Now we're ready to actually build the sign in system. We've decided that we do not want to be storing passwords in our system, instead we'll depend on 3rd party authentication providers, namely GitHub and Twitter to start.

Read the whole post

rails new techlahoma

Rob Sullivan and Amanda Harlin have been kicking around ideas for something called Techlahoma and they recently asked me to get involved to help. We decided early on that the app would be a Rails project, and I suggested that we use Cucumber to describe the main user features that we hope to build. In the early stages these stories will act as our design document, allowing us to formally capture the description of the features that will be available to end users. These documents will live in the project repo, and will be just like any other code/text file. We'll be able to track the history of feature descriptions, make drastic changes to them without fear of losing previous work, use pull requests to initiate discussion about new features, and all of the other great benefits that you get with git and GitHub.

Read the whole post

Introducing GemLou.pe

GemLou.pe is a new project of mine designed to allow Ruby developers to see the dependency tree of gems before adding a new gem to their Gemfile.  It uses a bookmarklet to allow easy inpection while browsing rubygems.org.  If you click the bookmarklet...

Read the whole post

application.css isn't precompiled on Heroku

Today I made a very small change to an app and then deployed it to Heroku.  After the deploy was complete I visited the app and was presented with an error page.  The error message in the logs let me know that application.css was not compiled, but I couldn’t figure out why.  Here’s what I did to break my app, and what I did to track down the issue.

Read the whole post

Using SimpleDB with Devise : Part 4

In this post we’ll look at using Cucumber to test the experience that users will have with our SimpleDB/Devise integration.  Cucumber allows us to specify large grained features, or scenarios, that we want to test and to describe those scenarios in plain language.  Then we can implement step definitions that turn our descriptive scenarios into executable functions to excercise the app.

Read the whole post

Using SimpleDB with Devise : Part 3

I started this series nearly two weeks ago with a pretty solid understanding of both Devise and SimpleDB (via AWS::Record::Model in aws-sdk) as individual pieces. In the course of getting them to work together I’ve learned a lot about the internals of both projects (also ActiveModel and ActiveRecord), created three new gems, and had a few pull requests accepted into the aws-sdk gem. In this post I’m going to do some more refactoring of the ongoing SimpleDevise project to correct an early mis-step and to remove some methods that are now provided by aws-sdk.

Read the whole post

Page 2 of 3

Previous page

Next page