garrettlancaster/remote_factory_girl_home_rails — pull request #1 by chbonser (2014-09-12 15:57:58+00:00)
Title: Adding attributes_for and improving error handling

- Renamed HomeController to FactoryController
- Added an attributes_for action which is analogous to FactoryGirl.attributes_for
- Improved error handling, FactoryController#create and FactoryController#attributes_for both return 422 with errors json when given an undefined factory or upon validation error