search for: assert_existance_of_template_file

Displaying 3 results from an estimated 3 matches for "assert_existance_of_template_file".

2006 Mar 11
1
actioncontroller sans view
just wondering if theres a more idiomatic way to avoid the `assert_existance_of_template_file'' error than passing an empty block to render :update (or hacking up the actionview::base class). ive tried various things like render :template => false/nil etc and havent seem to found a magic trick.. i realize most times a controller would want a view but various cases during dev...
2006 Mar 06
0
Weird MissingTemplate error in production only
...#39;ve been using Rails for more than a year now and I''ve been struggling with a very strange issue since last week. My Rails app won''t render any template when running in production environment. All actions (even the default behaviour when the action is left empty) will fail in assert_existance_of_template_file. If I force the full absolute path down the throat of my render :file call, it won''t eventually raise the exception but nothing gets rendered, the message in production.log seems incomplete (stops after Rendering "foo/bar", no benchmarking info) yet webrick returns with an HTTP...
2006 May 14
0
RJS Template not getting called
...but my corresponding RJS template does not get called. The following is output (any thoughts?): ActionController::MissingTemplate (Missing template ./../config/../app/views//workout/addjournalentry.rhtml): /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:930:in `assert_existance_of_template_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:653:in `render_file'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/act...