remove ActiveRecord::Model references
fix tests: redefine the methods instead of include modules
Merge pull request #2 from frodsan/fix_build

Fix build
Add back config options
set whitelist_attributes option before AR sets configs
set whitelist_attributes option only if AR is actually enabled
Merge pull request #4 from ashchan/check-ar-existence

set whitelist_attributes option only if AR is actually enabled
Handle whitelist configuration before active_record.set_configs

Add an initializer block that runs before the active_record.set_configs
initializer so that Active Record doesn't blow up trying to set the
whitelist_attributes configuration variable.

Closes #5
Require mocha_standalone for tests, fix build.
Remove not used load hooks for active_record_config

These were removed with ActiveRecord::Model in
https://github.com/rails/rails/commit/9e4c41c903e8e58721f2c41776a8c60ddba7a0a9#L15L156

See discussion here
https://github.com/rails/protected_attributes/commit/11303530e57bc3a7e7a079a929be9c4ab9b5975a#commitcomment-2128949
Minor improvements

Some fixed typos, grammar errors etc.
Merge pull request #6 from Agis-/patch-1

Minor improvements
Define branches in Gemfile so that we can user bundle local
Update params wrapper code to reflect current master

Adding attr_accessible checks, now all tests pass.
Kill mocha deprecation warning :gun:
Only require AR and AC extensions inside load hook, add both as dev dependency

This should allow people to use this gem without AR/AC.

Related to #3.
Do not depend on railties, only load railtie if Rails is defined

Should allow people to require only Active Model mass assignment goodies.
Register the load hooks as soon as the gem is required

Obey the load order from the Gemfile to properly register the load hooks
for AR and AC.

It is too late to register the hooks from inside an initializer block
and require the extensions, since the initializer blocks are executed
later in the initialization process. For instance, acts-as-taggable-on
was requiring some models when being required, force loading AR. When
AR::Base was loaded, the initializer blocks weren't run yet, so there
was no protected attributes extension set up, and everything exploded.

By moving the load hooks registration to the moment the lib is required,
as soon as AR::Base is loaded and the load hooks are called, protected
attributes extensions will be properly executed, as long as the gem
comes first in the Gemfile.
Remove journey from gemfile

Journey has been merged to Rails.
https://github.com/rails/rails/commit/56fee39c392788314c44a575b3fd66e16a50c8b5
fix deprecation on use of assert_blank