That's too easy! Oh, yeah....now I remember why I was turned on by
Rails. Thanks!

On Jun 4, 8:11 am, Sandip Ransing <[email protected]> wrote:
> Do like this
>
>    def my_method
> # DO whatever here
> render :nothing => true
>    end
>
> Sandip
>
> On Thu, Jun 4, 2009 at 5:31 PM, JannaB <[email protected]> wrote:
>
> > I need to be able to write a controller method that does nothing to
> > the view. That is, when the method in the controller terminates,  I
> > dont get an error in the browswer of:
>
> > Template is missing
> > Missing template blahbal/blahblah.erb in view path blah/views
>
> > The termination of the controller I must write does nothing to the
> > view (actually, I merely need to execute a little javascript, closing
> > some divs, etc). Is there a way to do this? Thanks, Janna B
>
> --
> Ruby on Rails 
> Developerhttp://sandip.sosblog.comhttp://funonrails.wordpress.comwww.joshsoftware.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to