Displaying 3 results from an estimated 3 matches for "creditcompare3".
2010 Oct 27
4
Anything special needed to migrate test::unit tests from Rails 2x to Rails3?
Looks like I''ve gotten my app upgraded successfully, at least in the
browser. When I ''rake test'' I get no love. I know I can start digging
through the Rails rake tasks, first want to see if anyone has an idea what
is going on:
DKMac:creditcompare3 DK$ rake test
(in /Users/DK/Documents/ror/projects/creditcompare3)
DKMac:creditcompare3 DK$
(requesting verbose fares just as badly using TESTOPTS="-v")
Not even an error! I would be happy with an error!
Also tried the old single test file with same result:
DKMac:creditcompare3 DK$ ru...
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
...> *returns* (in addition to a deprication error)*:*
> ActionView::MissingTemplate: Missing template /comparisons#display with
> {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html],
> :locale=>[:en, :en]} in view paths
> "/Users/DK/Documents/ror/projects/creditcompare3/app/views"
> *
> html_to_save = render_to_string(:action => "/comparisons/display", :layout
> => "application")
> *returns:
> ActionView::Template::Error: Missing partial web_requests/display with
> {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml...
2010 Oct 27
0
"Missing partial layouts/application" error on render :partial => "index", :layout => "application" - Rails3
...on. This error is happening with Rails 3/1.9.2 and was
not with Rails 2.3.8/1.8.7:
*Template is missing
Missing partial layouts/application with {:handlers=>[:erb, :rjs, :builder,
:rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths
"/Users/DK/Documents/ror/projects/creditcompare3/app/views"*
This is the controller code below, and yes, I have verified that the layout
application.html.erb exists. What I don''t understand is why it seems that
Rails is demanding that the layout be a partial. I did try changing the
application layout to a partial, and then in this...