Fixes for Active Record Adapter

Not sure if you want to address this or not, but I made these changes to a fork to get this gem working on my ActiveRecord project.

Some of it is irrelevant (adding my .idea to .gitignore... and separately functionality of one line to two)

It is basically just adding attr_accessible directives to those attributes you are supplying in your new constructors since active record is borking on the protected access.