Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 29, 2009
Commits on Dec 17, 2008
  1. Allow action specific content type restrictions.

    It's now possible to serve :html, :xml, :json, :yml
    and :csv out of the box. Additional content types
    are handled equally easily by registering their symbols
    and then following simple naming conventions. The
    current README kind of reflects this, but it needs
    further explanation.
    Along with this to work correctly for displaying
    datamapper validation error collections, I filed a
    patch to the datamapper lighthouse which can be found
Commits on Dec 15, 2008
  1. FlashSupport is now action specific.

    This means that when you didn't declare to have a :create action,
    you won't have the successful_create_messages and
    failed_create_messages methods available to override.
  2. Allow more method overrides.

Commits on Dec 13, 2008
Commits on Dec 12, 2008
  1. Fixed broken gemspec.

  2. Massive spec update. Fixed instance_var initialization.

    instance variables in nested resources should now really
    be initialized to the values one would expect them to have.
    Restructured specs to work like a standalone merb app.
    This means that the app can now be started via merb -i
    and also simply merb. As a consequence of this, specs
    can't be run via 'rake spec' from merb_resource_controller
    directory, but with 'rake spec' from inside the
    merb_resource_controller/spec/mrc_test_app directory.
    However, there are still a few request specs (and view matchers)
    I want to write to test nested resources even more
    The next step will be to incorporate nullobject's patch
    to allow xml and json responses.
    When this is done, I want to start thinking about how to
    *really* handle
Commits on Dec 4, 2008
  1. Added forgotten files.

  2. *Really* support models that are nested inside modules.

    The previous version only supported "leaf" models that
    are nested inside modules. With this commit it is now
    possible to use models that are nested inside modules
    all the way down the nesting strategy. So, on a
    "/articles/1/comments/1/ratings/1" route, you will be
    able to use classes Article, Community::Comment and
    Community::Rating (previously only Community::Rating
    was supported).
  3. Support models nested inside modules (like in slices).

    Also, the test app under spec/integration can now be
    booted with merb -i which makes playing around nicer.
Commits on Nov 27, 2008
Commits on Nov 26, 2008
  1. A little cleanup.

Commits on Nov 19, 2008
  1. Updated README.

  2. Initial support for provides.

Commits on Nov 18, 2008
  1. Updated README.

Commits on Nov 6, 2008
Commits on Nov 5, 2008
  1. Implemented support for nested resources.

    Currently only resources with exactly one parent
    are supported. I will add arbitrarily deep nesting
    levels once the need arises.
Commits on Nov 4, 2008
  1. Added .idea to .gitignore

Commits on Oct 29, 2008
  1. Push it.

Something went wrong with that request. Please try again.