Stephan Hagemann

Biography

  • Preparing for RailsConf Component-Based Applications Workshop

    Preparing for RailsConf Component-Based Applications Workshop

    At this year’s RailsConf I am going to be teaching the workshop: Get started with Component-Based Rails applications! It is a 90 minute session that gets you from 0 to 10 components in 90 minutes....

    Read More
  • Merits of strict separation in component-based Rails applications

    Merits of strict separation in component-based Rails applications

    A response to “Rails 4 Engines” at TaskRabbit Throughout this post I am using “engine”, “Rails engine”, and “component” interchangeably, using what fits best in a given context. Earlier this year,...

    Read More
  • Options for Admin Engines in Component-based Rails Applications

    Options for Admin Engines in Component-based Rails Applications

    In my recent RailsConf talk I said that I would help out with questions regarding component-based Rails applications (#cbra). A few days ago I got one such question via twitter: How to make a...

    Read More
  • RubyMine 6 for component-based Ruby and Rails applications

    RubyMine 6 for component-based Ruby and Rails applications

    I have previously written about how to use IntelliJ to set up multi-project support in RubyMine. I am happy to say that that hack is no longer necessary. Multi-project support was built into...

    Read More
  • A channel-based ring buffer in Go

    A channel-based ring buffer in Go

    After Jared’s excellent introduction to Go concurrency and his look at patterns of Go channel usage I would like to share a channel-based ring buffer in Go based on channels that we developed for...

    Read More
  • Getting "by" with rspec feature specs

    Getting "by" with rspec feature specs

    If you find that you are making your rspec feature specs longer and longer to cram more coverage in or to prevent the setup costs for more, shorter tests, you will probably have found that it...

    Read More
  • Rails autoloading for your gem

    Rails autoloading for your gem

    We have been developing gems a lot as part of giving more structure to Rails applications: the idea and some techniques. Doing this often sees a Rails application and one or more gems being...

    Read More
  • Showing and hiding conditional HTML without Javascript

    Showing and hiding conditional HTML without Javascript

    Have you ever filled out an address form that had a checkbox for “my shipping address differs from my mailing address”? When you click that box a conditional form part gets revealed that allows...

    Read More
  • My must-see list from MWRC 2013

    My must-see list from MWRC 2013

    TL;DR If you watch one talk from Mountain West Ruby 2013, watch Greg Baugues: Devs and Depression. Talks @ Mountain West Ruby Conference Mountain West Ruby, was a great conference: lots of content...

    Read More
  • GoSpotCheck Is Looking For A Web Application Developer

    GoSpotCheck Is Looking For A Web Application Developer

    At Pivotal Labs, one of the services we provide our clients is helping them interview and hire. Pivotal Labs and our clients place a strong emphasis on Agile development and its many aspects: Pair...

    Read More
  • Migrating from a single Rails app to a suite of Rails engines

    Migrating from a single Rails app to a suite of Rails engines

    TL;DR We moved a Rails app into an unbuilt engine of a new blank slate container app to allow new parts of our app to live next to it as engines as well. It has been working great for us! I have...

    Read More
  • Never use shared examples groups! Usually.

    Never use shared examples groups! Usually.

    Shared example groups are a feature of rspec that allow specifying common behavior in a reusable group of specs. I believe that there is a very specific way in which one can benefit from shared...

    Read More
  • Specific interfaces – in the small

    Specific interfaces – in the small

    Everyone on the Web I found who states that quote I was looking for says "I don't know who said it, but be 'Generous on input, strict on output'" (or some variation on this). While I am unsure...

    Read More
  • IntelliJ Modules in Rubymine

    IntelliJ Modules in Rubymine

    IntelliJ has a feature called modules: "a functional unit which you can compile, run, test and debug independently." A module in IntelliJ is a top-level view on a part of a codebase. IntelliJ...

    Read More
  • Test your Rake tasks!

    Test your Rake tasks!

    There are several reasons why you should test your Rake tasks: Rake tasks are code and as such deserve testing. When untested Rake tasks have a tendency to become overly long and convoluted....

    Read More
  • Another first four weeks: concerned and delegated

    Another first four weeks: concerned and delegated

    James' post from a couple of weeks ago inspired me to write up my own experiences of my first couple of weeks at Pivotal. However, instead of telling you how it felt, I will tell you about stuff I...

    Read More
  • loading
    Loading More...