i have single <div id="featured"> that loads a single entry...im
trying
to refresh that <div> via "Previous" and "Next" links
with a AJAX
calls...i am using link_to_remote as seen here...:
<%= link_to_remote "previous", :update =>
''featured'',
	:url => { :page => @entry_pages.current.next } if
@entry_pages.current.next %>
my controller has...:
def list
  @entry_pages, @entries = paginate :entries, :per_page => 1
end
am i on the right track?..this seems to be working, although the <div>
updates with the whole new page layout, not just the snippet of the
entry code...i suspect this has to do with "render(:layout =>
false)",
but i dont know where/how to add this in my controller...how can this
be done, am i going about this in the right way?..any help is
appreciated....!
--~--~---------~--~----~------------~-------~--~----~
 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---