Note that there are some explanatory texts on larger screens.

plurals
  1. PO"!map:ActiveSupport::HashWithIndifferentAccess" does not appear in page debug info
    primarykey
    data
    text
    <p>I'm on Chapter 6 of the Ruby on Rails Tutorial: Learn Rails by Example by Michael Hartl.</p> <p>Following <a href="http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-one#sec%3arails_environments" rel="nofollow">these instructions in 6.3.1 (Debug and Rails environments)</a>, I added this line to <strong><em>app/views/layouts/application.html.erb</em></strong>:</p> <pre><code>&lt;%= debug(params) if Rails.env.development? %&gt; </code></pre> <p>However, I am getting a different debug output than the one shown on <a href="http://ruby.railstutorial.org/chapters/modeling-and-viewing-users-one#fnref:6.26" rel="nofollow">this part of Ch 6.3.3 (A Users resource)</a>.</p> <p><strong>The debug output from my local Rails server:</strong></p> <pre><code>--- action: show controller: users id: '1' </code></pre> <p><strong>The debug output in the book:</strong></p> <pre><code>--- !map:ActiveSupport::HashWithIndifferentAccess action: show controller: users id: "1" </code></pre> <p>Any immediate thoughts as to why it's missing? I double checked all of my files against the book, and they seem identical. If it helps, I'm running the following:</p> <p><strong>Ruby version:</strong></p> <pre><code>ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0] </code></pre> <p><strong>Gemfile:</strong></p> <pre><code>source 'http://rubygems.org' gem 'rails', '3.0.9' gem 'sqlite3', '1.3.3' group :development do gem 'rspec-rails', '2.6.1' gem 'annotate-models', '1.0.4' end group :test do gem 'rspec-rails', '2.6.1' gem 'webrat', '0.7.1' gem 'spork', '0.9.0.rc8' gem 'autotest', '4.4.6' gem 'autotest-rails-pure', '4.1.2' gem 'autotest-fsevent', '0.2.4' gem 'autotest-growl', '0.2.9' end </code></pre> <p><strong>Gem list:</strong></p> <pre><code>*** LOCAL GEMS *** abstract (1.0.0) actionmailer (3.0.9, 3.0.8) actionpack (3.0.9, 3.0.8) activemodel (3.0.9, 3.0.8) activerecord (3.0.9, 3.0.8) activeresource (3.0.9, 3.0.8) activesupport (3.0.9, 3.0.8) annotate-models (1.0.4) arel (2.0.10) autotest (4.4.6) autotest-fsevent (0.2.4) autotest-growl (0.2.9) autotest-rails-pure (4.1.2) builder (2.1.2) bundler (1.0.15) configuration (1.2.0) diff-lcs (1.1.2) erubis (2.6.6) heroku (2.3.0) i18n (0.5.0) launchy (0.4.0) mail (2.2.19) mime-types (1.16) nokogiri (1.4.5) polyglot (0.3.1) rack (1.2.3) rack-mount (0.6.14) rack-test (0.5.7) rails (3.0.9, 3.0.8) railties (3.0.9, 3.0.8) rake (0.9.2, 0.8.7) rdoc (3.6.1) rest-client (1.6.3) rspec (2.6.0) rspec-core (2.6.4) rspec-expectations (2.6.0) rspec-mocks (2.6.0) rspec-rails (2.6.1) sequel (3.20.0) sinatra (1.0) spork (0.9.0.rc8) sqlite3 (1.3.3) sqlite3-ruby (1.3.3) sys-uname (0.8.5) taps (0.3.23) term-ansicolor (1.0.5) thor (0.14.6) treetop (1.4.9) tzinfo (0.3.28) webrat (0.7.1) ZenTest (4.5.0) </code></pre> <p><strong>Platform:</strong></p> <p>Mac OS X 10.6.6 (Snow Leopard)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload