Hi All I never worked with RUBY my fisrt time. I'd like to run this query by IRB and see how many line it will show me :
select codigo, nome from teste My database is postgre 8.4 Look what i did to do it: irb(main):006:0> Post.find_by_sql “SELECT codigo, tirulo from teste” NameError: uninitialized constant Post from (irb):6 irb(main):007:0> What is going on there? Thanks Grato -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

