You can clone with
ActiveAdmin loads all the registered models when the routes are loaded. This prevents Spork from loading changes before each run.
To fix this, you can delay route loading:
Spork.trap_method(Rails::Application, :reload_routes!) # Rails 3.0
Spork.trap_method(Rails::Application::RoutesReloader, :reload!) # Rails 3.1 or 3.2
require File.dirname(__FILE__) + "/../config/environment.rb"
This page was created by the OSS community and might be outdated or incomplete.
Feel free to improve or update this content to help the next developer who
visits this wiki after you.
Last edited by Steven Chanin, July 06, 2013