title: Mongoid w/ Rails, attr_accessible --> "No method found"
body: <ul>
    <li>Generated Rails App w/out Active Record</li>
    <li>Added appropriate gems for Mongoid (Mongodb & Mongoid)</li>
    <li>Generated the mongoid.yml file in config/ with rails support</li>
    <li>Created a friend model and user controller with typical CRUD routes</li>
  </ul>
  
  <p>Everything works except when I try to do a mass assignment I get:
  <code>"undefined method `attr_accesible' for Friend:Class"</code>
  </p>
  
  <p>Model, friend.rb:</p>
  
  <pre><code>
      class Friend
        include Mongoid::Document
        field :first_name, :type => String
        field :last_name, :type => String
        field :adjective, :type => String
        attr_accessible :first_name, :last_name, :adjective
      end
  </code>
  </pre>
  
  <pre><code>development:
    sessions:
      default:
        database: first_development
          hosts:
            - localhost:27017
          options:
          options:
  test:
    sessions:
      default:
        database: first_test
        hosts:
          - localhost:27017
        options:
          consistency: :strong
          max_retries: 1
          retry_interval: 0
  </code></pre>
  
  <p>Thoughts?</p>