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 use this within one of my views it does not recognize the locals
… the partials content is taken but whenever i try to access a local
var it says that its not defined …
i am using rails 2.0.1
thx for any help!