Ruby on Rails Friday, July 6, 2012

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)
arel (3.0.2)
builder (3.0.0)
bundler (1.1.4)
coffee-rails (3.2.2)
coffee-script (2.2.0)
coffee-script-source (1.3.3)
columnize (0.3.6)
console (0.5)
dynamic_form (1.1.4)
erubis (2.7.0)
execjs (1.4.0)
hike (1.2.1)
i18n (0.6.0)
journey (1.0.3)
jquery-rails (2.0.2)
json (1.7.3)
linecache (0.46)
mail (2.4.4)
mime-types (1.18)
multi_json (1.3.6)
mysql (2.8.1)
mysql2 (0.3.11)
nokogiri (1.5.4)
open4 (1.3.0)
OptionParser (0.5.1)
polyglot (0.3.3)
rack (1.4.1)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.1)
rails (3.2.4, 3.2.3)
railties (3.2.4, 3.2.3)
rake (0.9.2.2)
rbx-require-relative (0.0.9)
rdoc (3.12)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
rubygems-update (1.8.24, 1.8.1)
sass (3.1.19)
sass-rails (3.2.5)
sprockets (2.1.3)
sqlite3 (1.3.6, 1.3.5)
thor (0.15.2, 0.14.6)
tilt (1.3.3)
treetop (1.4.10)
tzinfo (0.3.33)
uglifier (1.2.4)
yajl-ruby (1.1.0)

--
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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en-US.

No comments:

Post a Comment