Are you planning to continue using sqlite in the production environment?
 Most people don't, but it's not a problem to do so.

If not or if the default sqlite settings aren't right for you, then you'll
need to make some changes, but those will depend on the environment you're
deploying into.  But what those should be isn't a question the mailing list
can answer for you without more information.

On Sun, Apr 17, 2011 at 11:37 AM, amrit pal pathak <
amritpalpath...@gmail.com> wrote:

>
>
> On Apr 17, 4:06 am, Chris Kottom <ch...@chriskottom.com> wrote:
> > In a strict operational sense, the term means installation and
> > configuration/activation of software on any environment under management,
> so
> > it could be meant as production, staging, integration testing, etc.  In
> the
> > Rails world where development and testing are most often virtual
> > environments coexisting on the developer's workstation, this will only be
> > the production environment for most cases.
>         I am running the application in development enviornment.I want
> to run it under now production one.So what changes i have to make in
> database.yml file
>
>     The content of this file as are
>
>  # SQLite version 3.x
> #   gem install sqlite3-ruby (not necessary on OS X Leopard)
> development:
>  adapter: mysql
>  database: amritpal
>  username: root
>  password: 12345
>  pool: 5
>  timeout: 5000
>
> # Warning: The database defined as "test" will be erased and
> # re-generated from your development database when you run "rake".
> # Do not set this db to the same as development or production.
> test:
>  adapter: sqlite3
>  database: db/test.sqlite3
>  pool: 5
>  timeout: 5000
>
> production:
>  adapter: sqlite3
>  database: db/production.sqlite3
>  pool: 5
>  timeout: 5000
>
> Thanks
>
> --
> 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.
>
>

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

Reply via email to