Re: [Rails] Re: make rails connect with database
On Fri, Dec 14, 2012 at 6:16 PM, Mas Bejo <lists@ruby-forum.com> wrote:
owh, i see.. i forgot that command. i have been try that command in
other app (but when i create database via rails), but i forgot to try
this command in this app.
so, this the step, i try to run this:
"rails console"
and then i run this command:
"Anggotum.all"
it can show all of my record in table.
congrats! you're able to connect to the database. if you have
other errors, please open a new thread about it :)
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
-------------------------------------------------------------
visit my blog at http://jimlabs.heroku.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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home