Extracting ActiveRecord into an EventMachine Driven project
First things, setup project structure
- Gemfile with related gems. You want tests, mocks, factories, activerecrod and eventmachine right?
- Create application file that will load most of commont gems to share with rspec.
- Connect ActiveRecord to database, otherwise how would it know composoition of those models?
- Server code that loads all models, sets up the Server and starts serving requests to the public.