Re: [rspec-users] render_template with a non-standard view name

2009-08-04 Thread Michele Stuart
Hi. No joy with integrate_views either, although the error does change. I discovered that the old new and and edit templates still existed. So, with integrate_views and with the new.html.erb file on the filesystem, we get this. 'LocationsController handling POST /cms/locations with failed save sh

Re: [rspec-users] render_template with a non-standard view name

2009-08-04 Thread David Chelimsky
On Tue, Aug 4, 2009 at 11:32 AM, Michele Stuart wrote: > Hi, all. > > I am perplexed. The problem I'm having seems to be related to > rendering a "non-standard" view. In our controllers, the 'new' and > 'edit' actions share a template, as shown here. > > Controller: > >  def new >   �...@location =

[rspec-users] render_template with a non-standard view name

2009-08-04 Thread Michele Stuart
Hi, all. I am perplexed. The problem I'm having seems to be related to rendering a "non-standard" view. In our controllers, the 'new' and 'edit' actions share a template, as shown here. Controller: def new @location = Location.new respond_to do |format| format.html { render :tem