If I try to execute the following code:
hassle = rota.hassles.create(:sender => user1, :receiver => user2, :type => \"sms\")
I oba
Please try: open config/application.rb
config/application.rb
Locate the line of config.active_record.whitelist_attributes = true
config.active_record.whitelist_attributes = true
Change true to false
Then you shall be fine.
PS: remember to restart the rails console.