search for: _unmemoized__pick_template

Displaying 1 result from an estimated 1 matches for "_unmemoized__pick_template".

2009 Jan 11
2
Got an error on returning data as json format when the data is nil
.../usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/ template.rb:16:in `initialize'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/ base.rb:332:in `new'' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_view/ base.rb:332:in `_unmemoized__pick_template'' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ active_support/memoizable.rb:70:in `_pick_template'' -------------------------------- I don''t know why rails requires a template file only when the data is nil. Anybody knows the reason ? Here is a snippet f...