envato/double_entry — pull request #48 by orien (2014-07-26 03:08:26+00:00)
Title: convenience method for defining active record scope identifiers

We can know define ActiveRecord scope identifiers thusly:

```ruby
DoubleEntry.configure do |config|
config.define_accounts do |accounts|
user_scope = accounts.active_record_scope_identifier(User)
accounts.define(:identifier => :checking, :scope_identifier => user_scope)
end
end
```