Search
-
Recent Posts
@carbonfive
- Outside-in development with #rails, #cucumber and #rspec. Jared drops some skills on us. http://t.co/Th1g5CKU 1 week ago
- New #OSS gem from @carbonfive alum @mperham. #Resque-killer! https://t.co/xu4l19Bt 2 weeks ago
- Thanks to all who came to @carbonfive hack night #LA tonight! Great #nodejs talk by @rudy and @sivoh. Probably 25 folks still hacking... 3 weeks ago
Tag Archives: rails
The RSpec Book defines outside-in Rails development as starting with views and working your way in toward the models. By developing from the outside in, you are always taking a client perspective at each layer of the application. The end … Continue reading
Sometimes during domain modeling you come across something that isn’t a thing. These operations that don’t quite belong to an object are called services. Services often live in a separate, service layer. The service layer lies between controllers and models, … Continue reading
Backbone.js continues to gain popularity in the JavaScript MVC community. I decided to give it a try by creating a simple, single-page app to CRUD a single domain model. While it wasn’t as trivial as a traditional server-side implementation in … Continue reading
Last month, cucumber-rails 1.1 was released. This release removed web_steps.rb, a collection of step definitions for interacting with a web app. For months, web_steps.rb contained a warning of its negative effects on feature maintenance. Like most developers, I ignored the … Continue reading
I was recently on a project that captures and logs data as ActiveRecord models. Each datum had 10 or so numeric attributes. One story required pulling out all the values for a particular attribute in a time range (i.e. all … Continue reading
As Rails developers we design APIs on a regular basis: routes for browsers to interact with a web app, JSON apis and routes for client side javascript to build dynamic pages, payloads queued for background processing on a server, and … Continue reading
On one of our rails projects I am creating an api to allow mobile clients to access a web service. I need to provide documentation of this API to the developers of several different clients during its development. Normally I … Continue reading
I recently finished working with Kathryn Aaker on upgrading Eggs, her farm CSA management software, to Rails 3. While there is a lot of good information out there on upgrading from Rails 2 to 3, we did run in to … Continue reading
Overview TDD is fun, right? Rails enthusiasts and agile evangelists alike agree. Waiting for your tests to run, however, makes for a frustrating experience. When the time between test iterations is magnified by bloated tests it can be hard to … Continue reading
Previously I discussed our TeamCity configuration using RVM and mentioned that we often use git to deploy projects. Today I’ll share an example of how a TeamCity build agent can trigger deployments of a application hosted on Heroku and some … Continue reading
Posted in Web
Tagged continuous integration, Deployment, rails, rapid development, Testing, Web
2 Comments