[typo] The rails_1_1 branch

Kevin Kubasik kevin at kubasik.net
Thu Mar 30 13:13:21 EST 2006


oops, a few minutes behind this one.... works for me now.
Again, many thanksOn 3/30/06, Kevin Kubasik <kevin at kubasik.net> wrote:>>> I'm sorry again, I feel really dumb, here it is with html formatting (I'm using Gmail, apperently it doesn't handle the line formatting well :-/)>>> Processing ContentController#index (for 205.222.248.25 at 2006-03-30> 07:55:13) [GET]>  Session ID: 7e020172db947e7eee8a3e5e635317e3>  Parameters: {"action"=>"index", "controller"=>"admin/content"}> Rendering admin/content/list within layouts/administration> Rendering admin/content/list>>> NoMethodError (undefined method `controller_name' for nil:NilClass):>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:541:in> `callback'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/caching.rb:534:in> `after'>   /usr/lib/ruby/gems/1.8/gems/actionpack- 1.12.0/lib/action_controller/filters.rb:227:in> `around_filter'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:388:in> `call_filters'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0 /lib/action_controller/filters.rb:381:in> `call_filters'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:376:in> `after_action'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:356:in> `perform_action_without_benchmark'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in> `perform_action_without_rescue'>   /usr/lib/ruby/1.8/benchmark.rb:293:in `measure'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/benchmarking.rb:69:in> `perform_action_without_rescue'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/rescue.rb:82:in> `perform_action'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in> `process_without_filters'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/filters.rb:364:in> `process_without_session_management_support'>   /usr/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/session_management.rb:117:in> `process'>   /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/dispatcher.rb:38:in `dispatch'>   /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:150:in> `process_request'>   /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:54:in `process!'>   /usr/lib/ruby/1.8/fcgi.rb:600:in `each_cgi'>   /usr/lib/ruby/1.8/fcgi.rb:597:in `each_cgi'>   /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:53:in `process!'>   /usr/lib/ruby/gems/1.8/gems/rails-1.1.0/lib/fcgi_handler.rb:23:in `process!'>   /public/dispatch.fcgi:24>>>> Cheers,> Kevin Kubasik>>> On 3/30/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:> > "Dean Strelau" <strelau at cornell.edu > writes:> >> > > I had the same thing happening to me. In> > > app/controllers/articles_controller.rb change> > >> > > layout :theme_layout, :except => [:comment_preview, :trackback]> > > to> > > layout :theme_layout, :except => [:comment, :comment_preview,> > > :trackback]> >> > Not necessarily a good fix. Rendering a partial (which is what we do> > for ajax comment additions) shouldn't use the layout anyway. And for> > none ajax comments you need to render with the layout.> >> > --> > Piers Cawley <pdcawley at bofh.org.uk>> > http://www.bofh.org.uk/> > _______________________________________________> > Typo-list mailing list> > Typo-list at rubyforge.org> > http://rubyforge.org/mailman/listinfo/typo-list> >>>>> -->> Cheers,> Kevin Kubasik> http://blog.kubasik.net/>>


--Cheers,Kevin Kubasikhttp://blog.kubasik.net/


More information about the Typo-list mailing list