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
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
What is going on there?