Wednesday, March 26, 2008

Merbful Authentication 0.9.2

I've just put up a bugfix for merbful_authentication because there was a method name clash in merb-gen. This is really a very small fix. It also includes a couple of other minor fixes.

You can get the latest from rubyforge.

3 comments:

Aaron Wheeler said...

Just a quick comment to say that all provided formats (e.g. provides(:xml)) should be declared on the class level before login_required is set as a before filter, as instance level provides() will not have been called yet. Kinda confusing, but there's an example here:

http://merb.lighthouseapp.com/projects/7433-merb-core/tickets/259-verbose-error-message-for-content_type-failure

Daniel Neighman said...

Hi Aaron,

Thanx for the heads up. I'm in the process of doing a pretty major overhaul of merbful authentication atm so I'll make sure this makes it in there.

Cheers
Daniel

Anonymous said...

Hi,

I'm new to merb/rspec and I can't get how to set session before controller specs that are using merbful authentication. Can you help me with that? Thanks