Beebe4
unread,Feb 18, 2008, 11:30:35 AM2/18/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to BrainBuster Discussion
Hello from Hashrocket.
When trying to use brain_buster with latest version of edge rails (as
of revision 8894). We were getting the following exception:
ActionView::TemplateFinder::InvalidViewPath in 'UsersController
activates user'
Unprocessed view path found: "/Users/pair/svn_hashrocket/keymaster/
trunk/vendor/plugins/brain_buster/views/brain_busters". Set your view
paths with #append_view_path, #prepend_view_path, or #view_paths=.
It appears that directly manipulating the view_paths array is
deprecated in edge, therefore changing:
obj.view_paths << File.expand_path(File.join("vendor", "plugins",
"brain_buster", "views", "brain_busters"))
to
obj.append_view_path File.expand_path(File.join("vendor", "plugins",
"brain_buster", "views", "brain_busters"))
fixes the problem.
Cheers,
Ben (and Obie)