On 6 July 2012 17:58, cyber c. <li...@ruby-forum.com> wrote:
> Hi Colin,
>
>
>>Here we /do/ see the sql fetching the records.  Very odd.  There must
>>be something going wrong with the caching.  Have you changed anything
>>in the the config directory other than database.yml and routes.rb?
>>Specifically environment.rb or anything in config/environments?  Are
>>you including any gems that might be relevant?
>
> No i havent changed anything here. Just to remove any local changes i
> might have made, i am posting data from a newly created rails app.
>
> routes.rb
> FirstApp::Application.routes.draw do
>   resources :trials
>
>   get "say/hello"
>
>   get "say/goodbye"
>
> end
>
>
>>Post database.yml and the result of
> # SQLite version 3.x
> #   gem install sqlite3
> #
> #   Ensure the SQLite 3 gem is defined in your Gemfile
> #   gem 'sqlite3'
> development:
>   adapter: sqlite3
>   database: db/development.sqlite3
>   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
>
>
>>gem list
>
> *** LOCAL GEMS ***
>
> actionmailer (3.2.4, 3.2.3)
> actionpack (3.2.4, 3.2.3)
> activemodel (3.2.6, 3.2.4, 3.2.3)
> activerecord (3.2.4, 3.2.3)
> activeresource (3.2.6, 3.2.4, 3.2.3)
> activesupport (3.2.6, 3.2.4, 3.2.3)

It is a bit suspicious that you have 3.2.6 of only some of these.  I
should have asked you to post Gemfile and Gemfile.lock too.

Colin

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