title: undefined local variable or method 'within' for User:class
body: <p>I am working with a book to teach myself Ruby-on-Rails. Ruby version is 1.2.3 and rubygems V 1.3.5.</p>
  
  <p>I start the console by ruby script/console and enter:</p>
  
  <pre><code>user = User.new(:screen_name =&gt; "example",
  ?&gt; :email =&gt; "exampleATexample.com",
  ?&gt; :password =&gt; "example")
  </code></pre>
  
  <p>but instead of adding the data to the DB, I get the following:</p>
  
  <pre><code>NameError: undefined local variable or method 'within' for User:Class from D:/ruby/lib/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1235:in 'method_missing' from ./script/../config/../config/../app/modules/user.rb:13
  </code></pre>
  
  <p>I don't really understand what's going on. Any kind of help is much appreciated, thank you!</p>