Added attr_accessible for Rails 3 - closes #1