On 17 February 2012 16:36, Felipe Pieretti Umpierre
<li...@ruby-forum.com> wrote:
> Hello Colin, thank you for you answer.
>
> I made a rake db:migrate VERSION=0 and again a rake db:migrate.
>
> So I put what you say to me do:
>
> 1.9.3-p0 :002 > Product.first

That should be Project.first

Colin

> NameError: uninitialized constant Product
>  from (irb):2
>  from
> /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/commands/console.rb:47:in
> `start'
>  from
> /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/commands/console.rb:8:in
> `start'
>  from
> /home/felipe/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/commands.rb:41:in
> `<top (required)>'
>  from script/rails:6:in `require'
>  from script/rails:6:in `<main>'
>
> My database.yml
>
> development:
>  adapter: mysql2
>  encoding: utf8
>  database: younner_development
>  user: younner
>  password:
>  pool: 5
>  timeout: 5000
>
> I don't understand..
>
> Thank you again.
>
> --
> Posted via http://www.ruby-forum.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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to 
> rubyonrails-talk+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>



-- 
gplus.to/clanlaw

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to