I do have a hard time with the rbac_bootstrap generator.
I have active-rbac 0.5, rails 1.2.4.(I also tried 1.2.3) and ruby
1.8.6.
This command 'ruby script/generate rbac_bootstrap Test' produces this
error message:
----------
exists app/controllers
exists app/models
exists app/views/auth
exists test/unit
exists test/functional
identical app/controllers/auth_controller.rb
undefined method `error_messages_for' for
#<Rails::Generator::Commands::Create:0x3356594>
----------
It seems somehow to be related to erb because if I comment this out in
rbac_bootstrap_generator.rb
m.template "#{str}.rhtml", "app/views/auth/#{str}.rhtml"
everything works. But of course the rhtml-template files are not
created.
Any ideas what the problem could be?
Feurio
Iggy