ajgon / vbulletin_rails

rails vBulletin support
MIT License
6 stars 6 forks source link

Can't mass-assign protected attributes #3

Open ghost opened 11 years ago

ghost commented 11 years ago

Once the method include_vbulletin is added to the application User model, the validations:

before_validation :validate_vbulletin
before_create :add_vbulletin
after_update :update_vbulletin

fail raising Can't mass-assign protected attributes for lastactivity and password.

ghost commented 11 years ago

The issue seems to be the method update_timestamps when it updates the user and the session here