From: Tiger Big one on
I get this error

##

SQLite3::SQLException: no such column: blogs.user_id: SELECT * FROM
blogs WHERE (blogs.user_id = 1) LIMIT 1

##

well in my project, i will be creating railsspace

Info: railsspace.com


I realy need some information on where to look to even solve this
problem.
--
Posted via http://www.ruby-forum.com/.

From: Robert Dober on
On Sat, Apr 17, 2010 at 2:47 PM, Tiger Big one <woo_(a)hotmail.co.uk> wrote:
> I get this error
>
> ##
>
> SQLite3::SQLException: no such column: blogs.user_id: SELECT * FROM
> blogs   WHERE (blogs.user_id = 1)  LIMIT 1
>
> ##
Well the Ruby On Rails ML seems to be a better place to look for help,
but somehow this looks like you are missing a migration here.

rake db:migrate

might do the trick.

HTH
R.



--
The best way to predict the future is to invent it.
-- Alan Kay

From: Tiger Big one on
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/.

From: Robert Dober on
On Sat, Apr 17, 2010 at 3:32 PM, Tiger Big one <woo_(a)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