undefined method `paginated?' for #<ActionView::Base:0x8a31274>
Extracted source (around line #3):
1: <div id="blog">
2: <p>
3: <% if paginated? %>
4: <% first = @pages.current_page.first_item %>
5: <% last = @pages.current_page.last_item %>
6: <% if first == last %>
I am getting this error now really am unsure about as i am on 2.0
rails
undefined method `paginated?' for #<ActionView::Base:0x8a31274>
Extracted source (around line #3):
1: <div id="blog">
2: <p>
3: <% if paginated? %>
4: <% first = @pages.current_page.first_item %>
5: <% last = @pages.current_page.last_item %>
6: <% if first == last %>
I am getting this error now really am unsure about as i am on 2.0
rails
--
Posted via http://www.ruby-forum.com/\.
···
On Sat, Apr 17, 2010 at 3:32 PM, Tiger Big one <woo_@hotmail.co.uk> wrote:
--
The best way to predict the future is to invent it.
-- Alan Kay
Well I had lots to say in my last post, sorry about that.
Sorry for being blunt but it seems you are missing lots of things
here, maybe reading up on rails and RailsSpace would help[1]. If you
are unsure about your rails version, well type
rails -v
and I am also unsure about RailsSpace it does not look maintained
and/or Rails2 compatible to me.
On Sat, Apr 17, 2010 at 3:47 PM, Robert Dober <robert.dober@gmail.com> wrote:
On Sat, Apr 17, 2010 at 3:32 PM, Tiger Big one <woo_@hotmail.co.uk> wrote:
NoMethodError in User#index
Showing user/_blog.rhtml where line #3 raised:
undefined method `paginated?' for #<ActionView::Base:0x8a31274>
Extracted source (around line #3):
1: <div id="blog">
2: <p>
3: <% if paginated? %>
4: <% first = @pages.current_page.first_item %>
5: <% last = @pages.current_page.last_item %>
6: <% if first == last %>
I am getting this error now really am unsure about as i am on 2.0
rails
--
Posted via http://www.ruby-forum.com/\.
--
The best way to predict the future is to invent it.
-- Alan Kay
--
The best way to predict the future is to invent it.
-- Alan Kay