acts_as_readonlyable && Rails 2.1

If you’re seeing this error:

TypeError: wrong argument type Hash (expected String)

Then you’ll need to patch acts_as_readonlyable.rb to something like this:

def construct_finder_sql(options)
..options.merge(:sql => super)
..super                                                    
end