hmmm.. error messages? log outputs? does the Resort find sql query
shoot off?

from my experiments, the only workable solution is using
render :update..

format.js { render :update do |page|
                  page.redirect_to resort_path(@resort)
                end }

but this actually sounds silly cos you're in the resorts controller
show action and you are redirecting to yourself.


On Aug 3, 4:49 pm, bingo bob <rails-mailing-l...@andreas-s.net> wrote:
> ok, show in resorts controller now looks like this.
>
>   def show
>     @resort = Resort.find(params[:id])
>
>     respond_to do |format|
>       format.html #default show.html.erb
>       format.js { redirect_to resort_path(@resort) }
>     end
>
>   end
>
> but still no dice ! ?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to