title: undefined method `confirm!' for #<User>
body: <p>i created a file seeds.rb indb/seeds.rb code for this file is </p>
  
  <pre><code>puts 'SETTING UP DEFAULT USER LOGIN'
  user = User.create! :name =&gt; 'My Fir User', :email =&gt; 'rashmi@example.com', :password =&gt; 'please', :password_confirmation =&gt; 'please'
  user.confirm!
  user2 = User.create! :name =&gt; 'My Second User', :email =&gt; 'user2@example.com', :password =&gt; 'please', :password_confirmation =&gt; 'please'
  user2.confirm!
  puts 'New user created: ' &lt;&lt; user.name
  </code></pre>
  
  <p>it is giving me error</p>
  
  <pre><code>rake aborted!
  undefined method `confirm!' for #&lt;User:0x934ab30&gt;
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activemodel-3.2.9/lib/active_model/attribute_methods.rb:407:in `method_missing'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/attribute_methods.rb:149:in `method_missing'
  /home/ritesh/Desktop/rails3-devise-rspec-cucumber/db/seeds.rb:10:in `&lt;top (required)&gt;'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `load'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `block in load'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:245:in `load'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.9/lib/rails/engine.rb:520:in `load_seed'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/gems/activerecord-3.2.9/lib/active_record/railties/databases.rake:333:in `block (2 levels) in &lt;top (required)&gt;'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval'
  /home/ritesh/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `&lt;main&gt;'
  Tasks: TOP =&gt; db:seed
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>it is running for user because it is created in development database but when it come to line 
  user2.confirm!
  it throws this undefined method error
  i am unable to point why for one instance confirm! method is running and for second instance it is showing undefined??</p>