i have the following method in my application_helper.rb
def test
render(:partial => ‘/application/errors’, :locals => {
:detail_msgs => ‘testing…’,
:headline => [‘asd’, ‘wwww’],
:msgs => [‘adssaad’]})
end
when I call this within one of my views it does not recognize the locals
and it results in an error that the var does not exists. when i remove
the vars within the partial then its rendered fine … but i need the
locals there
i am using rails 2.0.1
thx for any help!