From: Justin Bailey Date: 2007-02-03T04:19:59+09:00 Subject: Re: Beginner Question - Pagination, Each? On 2/2/07, David Heacock wrote: > <%= if @member_pages.each > link_to 'Go to page >', { :page => ()} > end > %> > > I get an error "no block given" You have a basic syntax error - missing the "do" keyword: > <%= if @member_pages.each do > link_to 'Go to page >', { :page => ()} > end > %>