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.

Scorched: Sinatra-inspired web application framework

I’d like to announce a new project I’ve been working on that’s recently been released, Scorched. It’s a thoughtful redesign of the light-weight web application framework, Sinatra, intended to be even lighter and more generic, whilst introducing a couple of new concepts, the pièce de résistance being the inheritable, nestable, Controller. Looking for some early adopters to provide feedback before releasing a v1.0. Read more

[Experimental] Repository Pattern on top of ActiveRecord

Over the past few days I’ve started experimenting with the idea of implementing the repository pattern on top of ActiveRecord (yes, it sounds scary). The motivation came after we were about to kick start a relatively large scale system. It would be great to retain the powerfulness of ActiveRecord as well as making our app easier to maintain and test. It is basically a compromise, a stop gap, if you will. Read more

You can use DataMapper with Rails 3 using dm-rails. …

Dynamic Error Pages In Rails

We’ve just published a new blog post about how to customise the default error templates in Rails. Click here to read it.

A while back I had wrapped up similar functionality in an engine. If you are lo…

Hound 0.2.0 now with extra awesome!

Last week I released Hound. A Rails gem for tracking actions made on your models. Hound now injects itself into your existing User model to provide extra mechanisms for listing a users activity. It also now tracks the changes made during these actions, providing more feedback for your activity lists. Let me know what you think! https://github.com/injekt/hound

OOP DSL for Capybara

We use OOP to make our code be better, why we don’t care too much about our tests? Nat Ritmeyer created a cool library which provides OOP DSL for Capybara. Its name is SitePrism. I have been using this library for 5 months. As a result, my tests look much much more clear and I feel like I have started writing less code for my acceptance tests, because I can inherit sections, pages and so on. I strongly recommend you to take a look at this library.

Loading older posts