On Thu, Dec 13, 2012 at 10:54 AM, Mas Bejo <li...@ruby-forum.com> wrote:

> i'm newbie in rails. i have problem with how to connect rails with
> database. before i can connect it with command
> "rake db:create" to create database.
> and "rake db:migrate" to migrate schema to database.


> but, i want to connect rails with database that i have before, not
> create it via rails. can you help me?
>

just setup your config/database.yml and that should work.  however, when
you want to collaborate with someone, you have to depend on schema.rb
rather than migrations to create the database.


>
> --
> 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 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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to