The title of this message is wrong. LookupContext must have a
constructor:

ActionView::LookupContext.new(nil)
 => #<ActionView::LookupContext:0x007f8e84755d18 @details_key=nil,
@details={:handlers=>[:erb, :builder, :coffee], :formats=>[:html, :text, :js, 
:css, :ics, :csv, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, 
:json], :locale=>[:en, :en]},
@skip_default_locale=false, @frozen_formats=false, @cache=true,
@prefixes=[], @view_paths=[]>

My problem is I can't find it:

https://github.com/rails/rails/blob/master/actionpack/lib/action_view/lookup_context.rb


There's other initialize methods for other classes, but not for
LookupContext. Where is it?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to