On Sun, Jul 15, 2012 at 12:24 PM, Dwayne Brown Dwayne
<li...@ruby-forum.com> wrote:

>    database: db/C:\database\testdatabase.db

> > If I have a SQLite3 database file in my C:\database folder for example,
> does the above code look right?

No. The 'db' there is the directory in the Rails app; if you want to use
the file where it is

   database: C:\database\testdatabase.db

That should work, but I don't use Windows, so try it and see what
happens.  :-)

> If so, what would be the next steps to
> use it? Is there a scaffold I can use or do I manually create my model,
> views, and controllers with rails generate?

If it's a database not originally designed with Rails in mind, it may not
be all that easy to use scaffold-generated models, but again - give it
a shot. I would pick a table and try to hand-create a model that works
with it first, myself.

HTH,
-- 
Hassan Schroeder ------------------------ hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-- 
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-US.

Reply via email to