on 2008-06-02 13:39
on 2008-06-02 13:51
I am curious to know why you need to change the value of ActionView::Base.erb_variable ? I'm more inclined towards removing that configuration option altogether. On Mon, Jun 2, 2008 at 12:39 PM, José Valim <firstname.lastname@example.org> wrote: > that they are working with any variable set: > > ActionView::Base.erb_variable = '_buf' > > Patch here: > http://rails.lighthouseapp.com/projects/8994-ruby-... > > > -- Cheers! - Pratik http://m.onkey.org
on 2008-06-02 14:13
I'm using it with Erubis and it's very handy! If the point is accept many template handlers, that flexibility is needed. Otherwise I would need to hack any new template installed.
on 2008-06-02 14:26
on 2008-06-02 14:30
This is strange, I wasn't probably running all tests. I will take a deeper look into it!
on 2008-06-02 14:50
Oh crap! =P I forget to set a teardown in caching_test.rb, at the end of the file. def teardown ActionView::Base.erb_variable = '_erbout' end I've attached another file in Lighthouse. =)