Authiorization plugin problem

hi,

i try to use authorization plugin but i got errors “undefined method
`has_role’”

can any one explain aout how i have to write in model and controller?

i have read its rdoc but don’t get all things exactly.

And i m use this with restful_authentication with rails 2.2.2.