Inflector irregular singularize rules
Added AR integration tests for form helpers
Merge pull request #9014 from virusman/form_helpers_ar_tests

AR integration tests for form helpers
Merge pull request #8671 from xuanxu/fix_irregular

Inflector irregular singularize rules
slices less, reads better
resistance is futile
Duplicate possible frozen string from route

Ruby 1.9 freezes Hash string keys by default so where a route is
defined like this:

  get 'search' => 'search'

then the Mapper will derive the action from the key. This blows up
later when the action is added to the parameters hash and the
encoding is forced.

Closes #3429
Refactored transaction state into its own object. Each transaction creates a new transaction state object upon initialization.
Merge pull request #9011 from wangjohn/activerecord_transaction_state

Refactored TransactionState into its own class